cpu-mgmt-class-stats-settings-modify

This command is used to modify the settings for statistics collection.

Syntax   cpu-mgmt-class-stats-settings-modify

enable|disable

Specify if you want to enable statistics collection.

interval duration: #d#h#m#s

Specify the interval duration.

disk-space disk-space-number

Specify the amount of disk space for the statistics.

Defaults   Disabled.

Access   Network Administrator

History   Command introduced in Version 3.0.0

Usage   Use this command to modify a CPU management class statistics collection configuration.

Examples  To enable statistics collection for the CPU management class configuration, use the following syntax:

CLI network-admin@switch > cpu=mgmt-class-settings-modify enable

cpu-mgmt-class-stats-settings-show

This command is used to display the settings for statistics collection.

Syntax   cpu-mgmt-class-stats-settings-show

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None.

Access   Network Administrator

History   Command introduced in Version 3.0.0.

Usage   Use this command to display statistics collection settings.

Examples  To display statistics collection settings, use the following syntax:

CLI network-admin@switch > cpu-mgmt-class-stats-settings-show

switch:     draco07

enable:     yes

interval:   30m

disk-space: 50M

 

cpu-mgmt-class-stats-show

This command is used to display CPU management class statistics.

Syntax   cpu-mgmt-class-stats-show

time date/time: yyyy-mm-ddTHH:mm:ss

Displays the time to start collection.

start-time date/time: yyyy-mm-ddTHH:mm:ss

Displays the start time of collection.

end-time date/time: yyyy-mm-ddTHH:mm:ss

Displays the end time of collection.

duration duration: #d#h#m#s

Displays the duration of collection.

interval duration: #d#h#m#s

Displays the interval between collection.

since-start

Displays the statistics collected since the start time.

older-than duration: #d#h#m#s

Displays the statistics older than the specified time.

within-last duration: #d#h#m#s

Displays the statistics collected within last time.

name arp|icmp|ssh|snmp|fabric|bcast|nfs|web|web-ssl|net-api

Displays the CPU management class.

in-bytes in-bytes-number

Displays the ingress bytes processed.

in-pkts in-pkts-number

Displays the ingress packets processed.

drop-pkts drop-pkts-number

Displays the number of ingress packets dropped.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 3.0.0.

Usage   Use this command to display CPU management class statistics.

Examples  To display statistics, use the following syntax:

CLI network-admin@switch > cpu-mgmt-class-stats-show

switch  name    in-bytes in-pkts drop-pkts

------- ------- -------- ------- ---------

draco07 arp     0        0       0         

draco07 icmp    0        0       0         

draco07 ssh     0        0       0         

draco07 snmp    0        0       0         

draco07 fabric  0        0       0         

draco07 bcast   0        0       0         

draco07 nfs     0        0       0         

draco07 web     0        0       0         

draco07 web-ssl 0        0       0         

draco07 net-api 0        0       0