time column field width in ra type programs

Carter Bullard carter at qosient.com
Wed Jul 24 15:49:12 EDT 2013


Hey John,
The field width is specified with the field name, either on the commandline
or in your RA_FIELD_SPECIFIER in the rarc, using ":n".

Here are examples to give the time 18 spaces.

RA_FIELD_SPECIFIER="stime:18 dur flgs proto saddr sport dir daddr dport spkts dpkts sbytes dbytes state"

ra -S localhost -s stime:18 dur flgs.....

Carter 

On Jul 24, 2013, at 3:39 PM, John Jenkinson <jenkinsonjp at yahoo.com> wrote:

> 
> 
> 
> i've done this before and have searched the lisr archives  but i can't find it now
> when the time column is listed the value ends in *
> this means the value won't fit in the size of the field
> specifying RA_TIME_FORMAT="%y-%m-%d %T"
> wher do i specify the field width?
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20130724/ab3f603f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6837 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20130724/ab3f603f/attachment.bin>


More information about the argus mailing list