Description
Starts the monitoring process for an interface or a virtual link.
If options and grouping are not used, this command monitors all traffic, on all interfaces, in both directions.
Syntax
rtm monitor {<
module_name> [<
interface_name>] | <
module_name>-filter ["<
complex filter>"] | -v <
virtual_link_name>} [
<options>] [-g <
grouping> <
entity-1>...<
entity-n>]
Parameter |
Description |
---|---|
|
The name of the SmartView Monitor module. |
|
The name of the monitored interface. |
|
Boolean regular expression to match traffic to be monitored. |
|
The name of the monitored Virtual Link. |
|
Available options are:
|
Where:
Options |
Description |
---|---|
|
|
|
|
|
|
|
<number of seconds> |
|
Specifies a sub-rule (for example, ' |
|
Specifies the monitor direction.
Valid values for a virtual link:
|
|
Specifies the units of bandwidth (when -w = bandwidth)
|
|
Indicates the number of new connections opened per second. |
|
Average concurrent connections (use with a grouping value). |
|
Specifies whether or not thousands will be separated by commas. |
Examples
This command shows monitoring data in bytes-per-second for the top 50 services passed on all interfaces in both directions: rtm monitor localhost -filter -g topsvc
This command shows monitoring data in concurrent connections for the top 50 sources inbound to interface eth0: rtm monitor localhost -filter "[and[[interface 0 [[eth0in]]][svc 1 [telnet http]]]" -y C -g topsrc
This command shows monitoring data in bytes-per-sec for the top 50 services passed on interface hme1: rtm monitor localhost hme1 -g topsvc -y b
Comments
The specified entities correspond to the specified grouping option. For example, if the monitoring process works according to a service (svc), add all the monitored services, separated by a space.
To monitor for the QoS Policy, use rule@@fgrule