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. |
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