Document keys for switching display modes and sorting on 'sent' or 'received'

numbers - thanks to Bobly for the trigger
This commit is contained in:
Arnout Engelen
2010-04-04 15:36:59 +00:00
parent 3e96194c70
commit 3888c15784

View File

@@ -16,19 +16,39 @@ nethogs \- Net top tool grouping bandwidth per process
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups bandwidth by process - and does not rely on a special kernel module to be loaded. So if there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this, and if it's some kind of spinning process, kill it. NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups bandwidth by process - and does not rely on a special kernel module to be loaded. So if there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this, and if it's some kind of spinning process, kill it.
.SS Options .SS Options
The \fB-d\fP switch delay for refresh rate. .TP
.PP \fB-d\fP
The \fB-h\fP switch display available commands usage. delay for refresh rate.
.PP .TP
The \fB-p\fP switch sniff in promiscious mode (not recommended). \fB-h\fP
.PP display available commands usage.
The \fB-t\fP switch tracemode. .TP
.PP \fB-p\fP
The \fB-V\fP switch prints Version info. sniff in promiscious mode (not recommended).
.TP
\fB-t\fP
tracemode.
.TP
\fB-V\fP
prints Version info.
.PP .PP
.I device(s) .I device(s)
to monitor. By default eth0 is being used. to monitor. By default eth0 is being used.
.SH "INTERACTIVE CONTROL"
.TP
m
cycle between display modes (kb/s, kb, b, mb)
.TP
r
sort by 'received'
.TP
s
sort by 'sent'
.TP
q
quit
.RE
.SH "SEE ALSO" .SH "SEE ALSO"
.I netstat(8) tcpdump(1) pcap(3) .I netstat(8) tcpdump(1) pcap(3)
.SH AUTHOR .SH AUTHOR