From: Vadim Kochan Date: Sun, 28 Dec 2014 10:33:05 +0000 (+0200) Subject: man tc: Add description for -graph option X-Git-Tag: v3.19.0~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9d1d1fae1e282ffa438a744e0ef2ff541558a59;p=thirdparty%2Fiproute2.git man tc: Add description for -graph option Signed-off-by: Vadim Kochan --- diff --git a/man/man8/tc.8 b/man/man8/tc.8 index d8f974f86..a6aed0ab0 100644 --- a/man/man8/tc.8 +++ b/man/man8/tc.8 @@ -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.