man tc: Add description for -graph option

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
This commit is contained in:
Vadim Kochan 2014-12-28 12:33:05 +02:00 committed by Stephen Hemminger
parent a925535c5d
commit d9d1d1fae1
1 changed files with 21 additions and 1 deletions

View File

@ -70,7 +70,8 @@ DEV
\fB\-d\fR[\fIetails\fR] | \fB\-d\fR[\fIetails\fR] |
\fB\-r\fR[\fIaw\fR] | \fB\-r\fR[\fIaw\fR] |
\fB\-p\fR[\fIretty\fR] | \fB\-p\fR[\fIretty\fR] |
\fB\-i\fR[\fIec\fR] } \fB\-i\fR[\fIec\fR] |
\fB\-g\fR[\fIraph\fR] }
.SH DESCRIPTION .SH DESCRIPTION
.B Tc .B Tc
@ -475,6 +476,25 @@ decode filter offset and mask values to equivalent filter commands based on TCP/
.BR "\-iec" .BR "\-iec"
print rates in IEC units (ie. 1K = 1024). 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 .SH HISTORY
.B tc .B tc
was written by Alexey N. Kuznetsov and added in Linux 2.2. was written by Alexey N. Kuznetsov and added in Linux 2.2.