feat: Add basename support
Now, the user can decide to show only the program name, instead of the full program path. It is useful, when you have a very long hierarchy of directories, which, with the full path name, the user might not see the program name.
This commit is contained in:
committed by
Matheus Rambo
parent
82a30bb644
commit
b94cd9f227
@@ -19,6 +19,7 @@ nethogs \- Net top tool grouping bandwidth per process
|
||||
.RB [ "\-l" ]
|
||||
.RB [ "\-f filter" ]
|
||||
.RB [ "\-C" ]
|
||||
.RB [ "\-b" ]
|
||||
.RB [ "\-g period" ]
|
||||
.RI [device(s)]
|
||||
.SH DESCRIPTION
|
||||
@@ -62,6 +63,9 @@ monitor all devices, even loopback/stopped ones.
|
||||
\fB-C\fP
|
||||
capture TCP and UDP.
|
||||
.TP
|
||||
\fB-b\fP
|
||||
Display the program basename.
|
||||
.TP
|
||||
\fB-g\fP
|
||||
garbage collection period in number of refresh. default is 50.
|
||||
.TP
|
||||
@@ -86,6 +90,9 @@ sort by RECEIVED traffic
|
||||
l
|
||||
display command line
|
||||
.TP
|
||||
b
|
||||
display the program basename
|
||||
.TP
|
||||
m
|
||||
switch between total (KB, B, MB) and throughput (KB/s, MB/s, GB/s) mode
|
||||
.RE
|
||||
|
||||
Reference in New Issue
Block a user