Here are the CLI commands to check CPU and Memory utilization on VSP switches in VOSS.
Step 1. Get into enable mode by typing enable.
vsp:1>enable
Step 2. Check CPU and Memory utilization.
show khi performance cpu
vsp:1#show khi performance cpu
************************************************************************************
Command Execution Time: Fri Apr 23 18:44:23 2021 GMT
************************************************************************************
Slot:1
Current utilization: 14
5-minute average utilization: 12
5-minute high water mark: 67 (02/26/20 17:49:05)
You can also see CPU usage for each process through the below command.
show khi performance pthread sort cpu
vsp:1#show khi performance pthread sort cpu
************************************************************************************
Command Execution Time: Fri Apr 23 18:58:13 2021 GMT
************************************************************************************
Slot:1
----------------------------------------------------------------------------------------------------
TID PID PName CPU(%) 5MinAvg CPU(%) 5MinHiWater CPU(%(time stamp))
----------------------------------------------------------------------------------------------------
2373 1947 bcmLINK.0 10.9 10.7 11.2 (02/26/20 17:47:14)
2377 1947 bcmCNTR.0 9.4 8.9 9.9 (03/04/20 22:29:14)
2235 1889 tMainTask 2.1 1.9 38.2 (03/04/20 23:37:13)
1986 1897 default-tmr 0.5 0.4 0.6 (02/26/20 17:50:26)
2230 1947 bcmINTR 0.4 0.4 15.7 (02/26/20 17:58:40)
2231 1947 socdmadesc.0 0.4 0.4 0.4 (02/06/20 13:45:08)
2145 1889 tExcTask 0.4 0.3 0.4 (02/26/20 17:46:13)
23738 1889 mocSsh 0.4 0.3 0.3 (04/23/21 18:36:49)
2091 1947 tExcTask 0.2 0.2 0.3 (02/26/20 17:45:43)
2166 1947 tMainTask 0.3 0.2 1.6 (02/06/20 13:44:28)
2342 1947 bcmRX 0.3 0.2 28.6 (03/04/20 23:07:28)
1886 1886 redis-server 0.1 0.1 0.2 (02/06/20 13:44:28)
2238 1889 tCppInterruptTa 0.2 0.1 20.1 (02/26/20 17:59:10)
2343 1947 listener 0.1 0.1 0.9 (03/31/20 16:04:54)
2383 1947 tScanSfp 0.1 0.1 0.1 (02/06/20 13:46:08)
1 1 init 0.0 0.0
2 2 kthreadd 0.0 0.0
3 3 ksoftirqd/0 0.0 0.0
You can also check memory utilization through the below command.
show khi performance memory
vsp:1#show khi performance memory
************************************************************************************
Command Execution Time: Fri Apr 23 18:45:47 2021 GMT
************************************************************************************
Slot:1
Used: 869180 (KB)
Free: 941984 (KB)
Current utilization: 47 %
5-minute average utilization: 47 %
5-minute high water mark: 48 (%)
10-minute average utilization: 47 %
10-minute high water mark: 48 (%)
1-Hour average utilization: 47 %
1-Hour high water mark: 47 (%)
1-Day average utilization: 47 %
1-Day high water mark: 47 (%)
1-Month average utilization: 47 %
1-Month high water mark: 47 (%)
1-Year average utilization: 47 %
1-Year high water mark: 47 (%)
SMLT memory usage 0 KB on 1 blocks
* Reference URLs:
No comments:
Post a Comment