Linux Commands Examples

A great documentation place for Linux commands


network statistics tools.

see also : lnstat


Usage: nstat [ -h?vVzrnasd:t: ] [ PATTERN [ PATTERN ] ]
Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


nstat and rtacct are simple tools to monitor kernel snmp counters and network interface statistics.


-h -?

Print help

-v -V

Print version


Dump zero counters too. By default they are not shown.


Reset history.


Do not display anything, only update history.


Dump absolute values of counters. The default is to calculate increments since the previous use.


Do not update history, so that the next time you will see counters including values accumulated to the moment of this measurement too.


Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.


Time interval to average rates. Default value is 60 seconds.

see also


How can this site be more helpful to YOU ?

give  feedback