Update man page with the latest help message.
This commit is contained in:
@@ -6,71 +6,84 @@ nethogs \- Net top tool grouping bandwidth per process
|
|||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.ft B
|
.ft B
|
||||||
.B nethogs
|
.B nethogs
|
||||||
.RB [ "\-h" ]
|
|
||||||
.RB [ "\-V" ]
|
.RB [ "\-V" ]
|
||||||
.RB [ "\-d" ]
|
.RB [ "\-h" ]
|
||||||
.RB [ "\-v" ]
|
.RB [ "\-b" ]
|
||||||
|
.RB [ "\-d seconds" ]
|
||||||
|
.RB [ "\-v mode" ]
|
||||||
|
.RB [ "\-c count" ]
|
||||||
.RB [ "\-t" ]
|
.RB [ "\-t" ]
|
||||||
.RB [ "\-c" ]
|
|
||||||
.RB [ "\-p" ]
|
.RB [ "\-p" ]
|
||||||
.RB [ "\-a" ]
|
|
||||||
.RB [ "\-s" ]
|
.RB [ "\-s" ]
|
||||||
|
.RB [ "\-a" ]
|
||||||
.RB [ "\-l" ]
|
.RB [ "\-l" ]
|
||||||
|
.RB [ "\-f filter" ]
|
||||||
|
.RB [ "\-C" ]
|
||||||
.RI [device(s)]
|
.RI [device(s)]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
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
|
||||||
.TP
|
.TP
|
||||||
\fB-h\fP
|
|
||||||
display available commands usage
|
|
||||||
.TP
|
|
||||||
\fB-V\fP
|
\fB-V\fP
|
||||||
print version info
|
prints version.
|
||||||
|
.TP
|
||||||
|
\fB-h\fP
|
||||||
|
prints available commands usage.
|
||||||
|
.TP
|
||||||
|
\fB-b\fP
|
||||||
|
bughunt mode - implies tracemode.
|
||||||
.TP
|
.TP
|
||||||
\fB-d\fP
|
\fB-d\fP
|
||||||
delay for refresh rate
|
delay for update refresh rate in seconds. default is 1.
|
||||||
.TP
|
.TP
|
||||||
\fB-v\fP
|
\fB-v\fP
|
||||||
select view mode
|
view mode (0 = KB/s, 1 = total KB, 2 = total B, 3 = total MB, 4 = MB/s, 5 = GB/s). default is 0.
|
||||||
.TP
|
|
||||||
\fB-p\fP
|
|
||||||
sniff in promiscuous mode (not recommended)
|
|
||||||
.TP
|
|
||||||
\fB-a\fP
|
|
||||||
monitor all devices, even loopback/stopped ones
|
|
||||||
.TP
|
|
||||||
\fB-t\fP
|
|
||||||
tracemode
|
|
||||||
.TP
|
.TP
|
||||||
\fB-c\fP
|
\fB-c\fP
|
||||||
limit number of refreshes
|
number of updates. default is 0 (unlimited).
|
||||||
|
.TP
|
||||||
|
\fB-t\fP
|
||||||
|
tracemode.
|
||||||
|
.TP
|
||||||
|
\fB-p\fP
|
||||||
|
sniff in promiscuous mode (not recommended).
|
||||||
.TP
|
.TP
|
||||||
\fB-s\fP
|
\fB-s\fP
|
||||||
sort by traffic sent
|
sort output by sent column.
|
||||||
.TP
|
.TP
|
||||||
\fB-l\fP
|
\fB-l\fP
|
||||||
display command line
|
display command line.
|
||||||
|
.TP
|
||||||
|
\fB-a\fP
|
||||||
|
monitor all devices, even loopback/stopped ones.
|
||||||
|
.TP
|
||||||
|
\fB-C\fP
|
||||||
|
capture TCP and UDP.
|
||||||
|
.TP
|
||||||
|
\fB-f\fP
|
||||||
|
EXPERIMENTAL: specify string pcap filter (like tcpdump). This may be removed or changed in a future version.
|
||||||
|
.TP
|
||||||
.PP
|
.PP
|
||||||
.I device(s)
|
.I device(s)
|
||||||
to monitor. By default eth0 is being used
|
to monitor. default is all interfaces up and running excluding loopback
|
||||||
|
|
||||||
.SH "INTERACTIVE CONTROL"
|
.SH "INTERACTIVE CONTROL"
|
||||||
.TP
|
.TP
|
||||||
m
|
q
|
||||||
cycle between display modes (KB/s, KB, B, MB, MB/s, GB/s)
|
quit
|
||||||
|
.TP
|
||||||
|
s
|
||||||
|
sort by SENT traffic
|
||||||
|
.TP
|
||||||
|
r
|
||||||
|
sort by RECEIVED traffic
|
||||||
.TP
|
.TP
|
||||||
l
|
l
|
||||||
display command line
|
display command line
|
||||||
.TP
|
.TP
|
||||||
r
|
m
|
||||||
sort by 'received'
|
switch between total (KB, B, MB) and throughput (KB/s, MB/s, GB/s) mode
|
||||||
.TP
|
|
||||||
s
|
|
||||||
sort by 'sent'
|
|
||||||
.TP
|
|
||||||
q
|
|
||||||
quit
|
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH "RUNNING WITHOUT ROOT"
|
.SH "RUNNING WITHOUT ROOT"
|
||||||
|
|||||||
Reference in New Issue
Block a user