service-stats-show

This command is used to display service statistics for a switch.

Syntax   service-stats-show

name ftp-data|ftp-control|ssh|telnet|http|https|rpc|sql|imap|ldap|iSCSI|oracle-db|nfs|cifs|iSCSI-target|
lockd|openstack-nova|openstack-keystone|openstack-metering|openstack-neutron| openstack-glance|
openstack-cinder|...

Specifies the name of the service associated with the well-known UDP or TCP port number.

HDFS

Nutanix

MR-JobTracker

Hive

Ganglia

MySQL

Cassandra

bytes byte-number

The number of bytes associated with the service port.

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   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The parameters for OpenStack added.

Version 2.2.5

The parameters, HDFS-, added to support Hadoop.

Version 2.2.6

Parameters added for MR, Hive, HBase, WebHCat, Ganglia, MySQL, Snap, Cassandra, Ganglia, LDAP, and Nutanix.

Version 2.4.1

The parameter, port, deprecated.

Usage   Unless otherwise specified, aggregate statistics are displayed for all UDP and TCP services on the switch. Each switch maintains a set of standard flow-based statistics that are continuously tracked and updated by the switch. Use this command to display traffic statistics for all UDP and TCP services on the switch.

Examples  To display service statistics, use the following command:

CLI network-admin@switch > service-stats-show

port     name    bytes

0        other   90983

22       ssh     9709

80       http    7326910

443      https   1755667

2049     nfs     5540

See Also   

system-stats-show