mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-08 11:30:21 +00:00
tc: added tc monitor description in man page
Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
75ef7b18d2
commit
9426673910
@ -81,13 +81,21 @@ tc \- show / manipulate traffic control settings
|
|||||||
.B filter show block
|
.B filter show block
|
||||||
\fIBLOCK_INDEX\fR
|
\fIBLOCK_INDEX\fR
|
||||||
|
|
||||||
|
.P
|
||||||
|
.B tc
|
||||||
|
.RI "[ " OPTIONS " ]"
|
||||||
|
.B monitor [ file
|
||||||
|
\fIFILENAME\fR
|
||||||
|
.B ]
|
||||||
|
|
||||||
.P
|
.P
|
||||||
.ti 8
|
.ti 8
|
||||||
.IR OPTIONS " := {"
|
.IR OPTIONS " := {"
|
||||||
\fB[ -force ] -b\fR[\fIatch\fR] \fB[ filename ] \fR|
|
\fB[ -force ] -b\fR[\fIatch\fR] \fB[ filename ] \fR|
|
||||||
\fB[ \fB-n\fR[\fIetns\fR] name \fB] \fR|
|
\fB[ \fB-n\fR[\fIetns\fR] name \fB] \fR|
|
||||||
\fB[ \fB-nm \fR| \fB-nam\fR[\fIes\fR] \fB] \fR|
|
\fB[ \fB-nm \fR| \fB-nam\fR[\fIes\fR] \fB] \fR|
|
||||||
\fB[ \fR{ \fB-cf \fR| \fB-c\fR[\fIonf\fR] \fR} \fB[ filename ] \fB] \fR}
|
\fB[ \fR{ \fB-cf \fR| \fB-c\fR[\fIonf\fR] \fR} \fB[ filename ] \fB] \fR
|
||||||
|
\fB[ -t\fR[imestamp\fR] \fB\] \fR| \fB[ -t\fR[short\fR] \fB]\fR }
|
||||||
|
|
||||||
.ti 8
|
.ti 8
|
||||||
.IR FORMAT " := {"
|
.IR FORMAT " := {"
|
||||||
@ -616,6 +624,17 @@ link
|
|||||||
Only available for qdiscs and performs a replace where the node
|
Only available for qdiscs and performs a replace where the node
|
||||||
must exist already.
|
must exist already.
|
||||||
|
|
||||||
|
.SH MONITOR
|
||||||
|
The\fB\ tc\fR\ utility can monitor events generated by the kernel such as
|
||||||
|
adding/deleting qdiscs, filters or actions, or modifying existing ones.
|
||||||
|
|
||||||
|
The following command is available for\fB\ monitor\fR\ :
|
||||||
|
.TP
|
||||||
|
\fBfile\fR
|
||||||
|
If the file option is given, the \fBtc\fR does not listen to kernel events, but opens
|
||||||
|
the given file and dumps its contents. The file has to be in binary
|
||||||
|
format and contain netlink messages.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
@ -653,6 +672,16 @@ to
|
|||||||
specifies path to the config file. This option is used in conjunction with other options (e.g.
|
specifies path to the config file. This option is used in conjunction with other options (e.g.
|
||||||
.BR -nm ")."
|
.BR -nm ")."
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "\-t", " \-timestamp"
|
||||||
|
When\fB\ tc monitor\fR\ runs, print timestamp before the event message in format:
|
||||||
|
Timestamp: <Day> <Month> <DD> <hh:mm:ss> <YYYY> <usecs> usec
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BR "\-ts", " \-tshort"
|
||||||
|
When\fB\ tc monitor\fR\ runs, prints short timestamp before the event message in format:
|
||||||
|
[<YYYY>-<MM>-<DD>T<hh:mm:ss>.<ms>]
|
||||||
|
|
||||||
.SH FORMAT
|
.SH FORMAT
|
||||||
The show command has additional formatting options:
|
The show command has additional formatting options:
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user