vnstat in KByte

Mark Nichols ubuntu at zanshin.net
Thu Jun 18 19:45:03 UTC 2009


On 06/18/2009 10:08 AM, Tony Asnicar wrote:
> I can't find the parameter to get vnstat to display traffic _only_ in
> MBytes :S

When I look at the man pages for vnstat there doesn't appear to be a 
megabytes only option. Looks like you'll have to do some math in your head.

Or pipe the output through awk (or sed) (or both) and convert the 
numbers from GB to MB.

Mark




More information about the ubuntu-users mailing list