Display KHI Performance Information
Use the following commands to display KHI information about the performance of the switch.
Procedure
Example
Switch:1>show khi performance buffer-pool 1
Slot:1
CPP:
UsedFBuffs: 12
FreeFBuffs: 3060
RxQ0FBuffs: 0
RxQ1FBuffs: 0
RxQ2FBuffs: 0
RxQ3FBuffs: 0
RxQ4FBuffs: 0
RxQ5FBuffs: 0
RxQ6FBuffs: 0
RxQ7FBuffs: 0
TxQueueFBuffs: 0
NoFbuff: 0
Network stack system:
UsedMbuf: 244
FreeMbuf: 47606
SocketMbuf: 19
Network stack data:
UsedMbuf: 4
FreeMbuf: 10748
Letter API message queue:
QHigh: 0
QNormal: 0
FreeQEntries: 51200
Switch:1>show khi performance cpu 1
Slot:1
Current utilization: 9
1-minute average utilization: 9
1-minute high water mark: 14 (06/20/16 06:03:08)
5-minute average utilization: 8
5-minute high water mark: 10 (06/19/16 08:35:58)
Depending on the switch hardware, any one of the following output can display for show khi performance memory [{slot[-slot][,...]}].
Switch:1>show khi performance memory 1
Slot:1
Used: 514560 (KB)
Free: 521260 (KB)
Current utilization: 49 %
5-minute average utilization: 49 %
5-minute high water mark: 22 (10/08/14 14:48:01)
Switch:1>show khi performance memory 1
Slot:1
Used: 1684000 (KB)
Free: 2321704 (KB)
Current utilization: 42 %
5-minute average utilization: 41 %
5-minute high water mark: 41 (%)
10-minute average utilization: 41 %
10-minute high water mark: 41 (%)
1-Hour average utilization: 41 %
1-Hour high water mark: 41 (%)
1-Day average utilization: 41 %
1-Day high water mark: 41 (%)
1-Month average utilization: 39 %
1-Year average utilization: 0 %
The following example shows partial output for the show khi performance memory history command and depending on the hardware platform, you can also display virtual memory history.
Switch:1>show khi performance memory history
Slot:1
Values indicate VMSize in KB
Pid Pname 5-Min 10-Min 1-Hour 1-Day 1-Month 1-Year
1733 logger 2 2 2 2 -- --
1751 namServer 24 24 24 24 -- --
1752 sockserv 5 5 5 5 -- --
1754 oom95 106 106 106 106 -- --
1755 oom90 106 106 106 106 -- --
1756 imgsync.x 25 25 25 25 -- --
1831 logServer 29 29 29 29 -- --
1832 trcServer 23 23 23 23 -- --
1834 oobServer 23 23 23 23 -- --
1836 nickServer 24 24 24 24 -- --
1837 nickClient 24 24 24 24 -- --
2451 dhclient-fan -- -- -- -- -- --
1840 hwsServer 29 29 29 29 -- --
1843 redis-server 20 20 20 19 -- --
2551 restweb_voss.pyz 33 33 33 32 -- --
2559 hiveagent 10 10 10 9 -- --
1844 cbcp-main.x 626 626 623 618 -- --
--More-- (q = quit)
The following example shows partial output for the show khi performance process command.
Switch:1>show khi performance process 1 Slot:1 ----------------------------------------------------------------------------------------------------------- PID PPID PName VmSize VmLck VmRss VmData VmStk VmExe VmLib ----------------------------------------------------------------------------------------------------------- 1 0 init 2152 0 1488 168 132 32 1692 2 0 kthreadd 0 0 0 0 0 0 0 3 2 ksoftirqd/0 0 0 0 0 0 0 0 9819 2 kworker/u4:0 0 0 0 0 0 0 0 5 2 kworker/0:0H 0 0 0 0 0 0 0 7 2 rcu_sched 0 0 0 0 0 0 0 8 2 rcu_bh 0 0 0 0 0 0 0 9 2 migration/0 0 0 0 0 0 0 0 10 2 lru-add-drain 0 0 0 0 0 0 0 11 2 cpuhp/0 0 0 0 0 0 0 0 12 2 cpuhp/1 0 0 0 0 0 0 0 13 2 migration/1 0 0 0 0 0 0 0 14 2 ksoftirqd/1 0 0 0 0 0 0 0 15 2 kworker/1:0 0 0 0 0 0 0 0 16 2 kworker/1:0H 0 0 0 0 0 0 0 17 2 kdevtmpfs 0 0 0 0 0 0 0 --More-- (q = quit)
The following example shows partial output for the show khi performance pthread command.
Switch:1>show khi performance pthread 1 Slot:1 ----------------------------------------------------------------------------------------------------------- TID PID PName CPU(%) 5MinAvg CPU(%) 5MinHiWater CPU(%(time stamp)) ----------------------------------------------------------------------------------------------------------- 1 1 init 0.0 0.0 2 2 kthreadd 0.0 0.0 3 3 ksoftirqd/0 0.1 0.0 9967 9967 kworker/u4:0 0.0 0.0 5 5 kworker/0:0H 0.0 0.0 10005 2551 restweb_voss.py 0.1 0.2 7 7 rcu_sched 0.0 0.0 8 8 rcu_bh 0.0 0.0 9 9 migration/0 0.0 0.0 10 10 lru-add-drain 0.0 0.0 11 11 cpuhp/0 0.0 0.0 12 12 cpuhp/1 0.0 0.0 13 13 migration/1 0.0 0.0 14 14 ksoftirqd/1 0.0 0.0 15 15 kworker/1:0 0.0 0.0 --More-- (q = quit)
The following example shows partial output for the show khi performance rx-queue command.
Switch:1>show khi performance rx-queue ----------------------- CPP COUNTERS ----------------------- FBUF COUNTERS InUseFBuffs: 0 FreeFBuffs: 3072 Stolen Rx Packets: 0 TxQueueFBuffs: 0 NoFBuffs: 3475 PACKET COUNTERS: totalCppEnetRxPkts: 0 totalRxPkts: 0 OamPktsRcvd: 17763931 IoPktsRcvd: 0 IoCopPktsRcvd: 0 PcapPktsRcvd: 0 Ipv6PktsRcvd: 606075 RxTestPkts: 0 RxCpHbPkts: 0 RxOopPkts: 0 RxMacMgmtPkts: 0 RxIpfixPkts: 0 RxOtherPkts: 0 RxCreditsAdded: 0 MyFramesReceived: 2 totalQueuedPkts: 55426040 QueuedOamPkts: 17763931 QueuedIoPkts: 0 QueuedIoCopPkts: 0 QueuedTestPkts: 0 QueuedOtherPkts: 0 totalDequeuedPkts: 55426040 DequeuedOamPkts: 17763931 DequeuedIoPkts: 37662109 DequeuedIoCopPkts: 0 DequeuedTestPkts: 0 DequeuedOtherPkts: 0 totalPktsProcessed: 55426040 OamPktsProcessed: 17763931 IoPktsProcessed: 37662109 IoCopPktsProcessed: 0 OtherPktsProcessed: 0
The following example shows partial output for the show khi performance slabinfo command.
Switch:1>show khi performance slabinfo
Slot:1
-----------------------------------------------------------------------------------------------------------
Name Active Num Objsize Objper Pageper Active Num
Objs Objs slab slab Slabs Slabs
-----------------------------------------------------------------------------------------------------------
nf_conntrack 306 306 224 18 1 17 17
jffs2_refblock 32 32 248 16 1 2 2
jffs2_i 20 20 408 20 2 1 1
ip6-frags 0 0 136 30 1 0 0
UDPv6 60 60 800 20 4 3 3
tw_sock_TCPv6 0 0 184 22 1 0 0
request_sock_TCPv6 0 0 232 17 1 0 0
TCPv6 40 40 1600 20 8 2 2
sgpool-128 12 12 2560 12 8 1 1
sgpool-64 12 12 1280 12 4 1 1
sgpool-16 12 12 320 12 1 1 1
cfq_queue 23 23 176 23 1 1 1
mqueue_inode_cache 30 30 544 15 2 2 2
nfs_direct_cache 0 0 184 22 1 0 0
nfs_commit_data 18 18 448 18 2 1 1
--More-- (q = quit)
Variable Definitions
Use the data in the following table to use the show khi performance command.
|
Variable |
Value |
|---|---|
|
{slot[-slot][,...]} |
Specifies the slot number. Valid slot is 1. |
|
history Note:
Depending on the hardware platform, the system displays this parameter in show khi performance memory. |
Specifies virtual memory consumed for each process. |
|
rx-queue |
Specifies the queue performance and utilization statistics on the switch. |
