[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vnstat in KByte



Tony Asnicar wrote:
> I can't find the parameter to get vnstat to display traffic _only_ in
> MBytes :S
>
>
> # vnstat -i eth0
> Database updated: Thu Jun 18 17:05:01 2009
>
>         eth0
>
>            received:      26.25 GB (56.0%)
>         transmitted:      20.64 GB (44.0%)
>               total:      46.90 GB
>
>                         rx     |     tx     |  total
>         -----------------------+------------+-----------
>         yesterday      1.84 GB |  175.15 MB |    2.01 GB
>             today      3.77 GB |  416.31 MB |    4.18 GB
>         -----------------------+------------+-----------
>         estimated      5.29 GB |     583 MB |    5.86 GB
>
>
> Does anybody knows it?
>
> Thankyou!

No option seems existing with vnstat. (man vnstat)

I don't see the purpose to get an output in MBytes because the output
would be almost unreable for big values... if you really want that,
convert yourself the values (example : 1.84*1024) to see the values in MB...

-- 
http://snurf.info - http://about-gnulinux.info
Full Circle Magazine : http://fullcircle-mag.fr


Reply to: