nusage

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHORS

NAME

nusage − Show network usage per each shaping rule

SYNOPSIS

nusage iface_name [ refresh_time ] [ log_like ]

DESCRIPTION

This utility shows network thruput per each shaping rule on a device. Rules must be defined by the command tc filter. By default nusage prints all the statistics on top of the screen, showing one class per line. Currently works with cbq and htb. Default refresh_time is 5 sec. Rates seen are simply the difference from the last output divided by the refresh time. Note that some classes may not have any IP range, these may be parent classes.
The very first output shows NO rates or counters.

OPTIONS

iface_name

Interface name as seen from ifconfig. May be for example eth0 or imq0

refresh_time

In seconds, default 5 sec. Smallest interval will be 1 sec.

log_like

If the log_like parameter is present (may be anything), ‘date‘ is prepended to each output screen, screen is not cleared.

SEE ALSO

tc(8), tc-htb(8), tc-cbq(8), ttshaper(8)

AUTHORS

Tom Olexa <olexat@post.cz>