man tc: Add description for -graph option
Subsystems (2)
PATCH 1/1 man tc: Add description for -graph option
From: Vadim Kochan <[email protected]>
Signed-off-by Vadim Kochan <[email protected]>
--- man/man8/tc.8 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-)
man/man8/tc.8 +21 -1
@@ -70,7 +70,8 @@ DEV \fB\-d\fR[\fIetails\fR] | \fB\-r\fR[\fIaw\fR] | \fB\-p\fR[\fIretty\fR] | -\fB\-i\fR[\fIec\fR] } +\fB\-i\fR[\fIec\fR] | +\fB\-g\fR[\fIraph\fR] } .SH DESCRIPTION .B Tc
@@ -475,6 +476,25 @@ decode filter offset and mask values to equivalent filter commands based on TCP/ .BR "\-iec" print rates in IEC units (ie. 1K = 1024). +.TP +.BR "\-g", " \-graph" +shows classes as ASCII graph. Prints generic stats info under each class if +.BR "-s" +option was specified. Classes can be filtered only by +.BR "dev" +option. + +.SH "EXAMPLES" +.PP +tc -g class show dev eth0 +.RS 4 +Shows classes as ASCII graph on eth0 interface. +.RE +.PP +tc -g -s class show dev eth0 +.RS 4 +Shows classes as ASCII graph with stats info under each class. + .SH HISTORY .B tc was written by Alexey N. Kuznetsov and added in Linux 2.2.
Signature · 1 line
2.1.3