How to Interpret: show system resources
Resolution
The command show system resources gives a snapshot of Management Plane (MP) resource utilization including memory and CPU. This is similar to the ‘top’ command in Linux.
show system resources provides information about the memory used and available and if the MP is using swap. If the swap usage remains consistently high, it implies that processes are either failing to release memory or they justifiably require more memory to operate.
To verify MP is swapping for a extended period of time, refer to process kswapd highlighted in the sample output below. If this process is running for hours - this could indicate that you have consistent swapping going on and may need to take steps to reduce your memory footprint.
The values of interest are the Swap, Mem, CPU wait time (%wa), Virtual memory usage (VIRT) and CPU usage (%CPU). These values are helpful when determining high MP CPU and/or slow MP response. If the CPU wait time is high, it indicates the MP is waiting for a process to release the CPU.
To view real-time memory and CPU usage, run the command: show system resources follow
Sample output of the command is provided below:
admin@PA-2050(active)> show system resources
top - 21:20:50 up 2 days, 9:13, 1 user, load average: 0.00, 0.03, 0.01
Tasks: 94 total, 1 running, 93 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.7%us, 2.0%sy, 1.0%ni, 92.8%id, 0.3%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 995888k total, 589744k used, 406144k free, 6360k buffers
Swap: 2008084k total, 229308k used, 1778776k free, 143536k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28868 20 0 4468 1020 800 R 4 0.1 0:00.06 top
2110 15 -5 44732 10m 1284 S 2 1.1 41:27.91 sysd
1 20 0 1836 560 536 S 0 0.1 0:02.37 init
2 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 RT 0 0 0 0 S 0 0.0 0:00.99 migration/0
4 20 0 0 0 0 S 0 0.0 0:00.01 ksoftirqd/0
5 RT 0 0 0 0 S 0 0.0 0:00.87 migration/1
6 20 0 0 0 0 S 0 0.0 0:00.02 ksoftirqd/1
7 20 0 0 0 0 S 0 0.0 0:00.02 events/0
8 20 0 0 0 0 S 0 0.0 0:00.00 events/1
9 20 0 0 0 0 S 0 0.0 0:00.04 khelper
12 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr
112 20 0 0 0 0 S 0 0.0 0:00.00 sync_supers
114 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default
115 20 0 0 0 0 S 0 0.0 0:00.50 kblockd/0
116 20 0 0 0 0 S 0 0.0 0:00.28 kblockd/1
125 20 0 0 0 0 S 0 0.0 0:00.00 ata/0
126 20 0 0 0 0 S 0 0.0 0:00.00 ata/1
127 20 0 0 0 0 S 0 0.0 0:00.00 ata_aux
132 20 0 0 0 0 S 0 0.0 0:00.00 khubd
135 20 0 0 0 0 S 0 0.0 0:00.00 kseriod
154 20 0 0 0 0 S 0 0.0 0:00.00 rpciod/0
155 20 0 0 0 0 S 0 0.0 0:00.00 rpciod/1
167 20 0 0 0 0 S 0 0.0 0:22.37 kswapd0
168 20 0 0 0 0 S 0 0.0 0:00.00 aio/0
169 20 0 0 0 0 S 0 0.0 0:00.00 aio/1
170 20 0 0 0 0 S 0 0.0 0:00.00 nfsiod
723 20 0 0 0 0 S 0 0.0 0:00.00 octeon-ethernet
741 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
743 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
750 20 0 0 0 0 S 0 0.0 0:01.22 mtdblockd
773 20 0 0 0 0 S 0 0.0 0:00.00 usbhid_resumer
812 20 0 0 0 0 S 0 0.0 0:08.53 kjournald
865 16 -4 2008 404 400 S 0 0.0 0:01.44 udevd
1699 20 0 0 0 0 S 0 0.0 0:00.23 kjournald
1700 20 0 0 0 0 S 0 0.0 0:00.00 kjournald
1786 20 0 0 0 0 S 0 0.0 0:09.67 flush-8:0
1845 20 0 2008 620 572 S 0 0.1 0:01.71 syslogd
1848 20 0 1892 332 328 S 0 0.0 0:00.03 klogd
1856 rpc 20 0 2084 492 488 S 0 0.0 0:00.00 portmap
1874 20 0 2116 652 648 S 0 0.1 0:00.05 rpc.statd
1943 20 0 6852 632 548 S 0 0.1 0:00.37 sshd
1991 20 0 6788 396 392 S 0 0.0 0:00.00 sshd
2000 20 0 3280 616 612 S 0 0.1 0:00.02 xinetd
2019 20 0 0 0 0 S 0 0.0 0:00.00 lockd
2020 20 0 0 0 0 S 0 0.0 0:17.21 nfsd
2021 20 0 0 0 0 S 0 0.0 0:16.13 nfsd
2022 20 0 0 0 0 S 0 0.0 0:17.91 nfsd
2023 20 0 0 0 0 S 0 0.0 0:18.69 nfsd
2024 20 0 0 0 0 S 0 0.0 0:18.05 nfsd
2025 20 0 0 0 0 S 0 0.0 0:20.57 nfsd
2026 20 0 0 0 0 S 0 0.0 0:20.01 nfsd
2027 20 0 0 0 0 S 0 0.0 0:21.30 nfsd
2030 20 0 2360 676 580 S 0 0.1 0:00.78 rpc.mountd
2093 0 -20 62128 4608 1912 S 0 0.5 5:40.59 masterd_core
2096 20 0 1888 456 452 S 0 0.0 0:00.00 agetty
2103 0 -20 26132 1348 1000 S 0 0.1 0:18.85 masterd_manager
2112 0 -20 30196 4820 1068 S 0 0.5 9:06.26 masterd_manager
2116 20 0 89320 4144 1912 S 0 0.4 0:03.50 dagger
2117 30 10 38644 3628 1664 S 0 0.4 9:34.83 python
2118 20 0 76972 3800 1708 S 0 0.4 0:07.12 cryptod
2119 20 0 164m 1948 1224 S 0 0.2 1:29.02 sysdagent
2135 20 0 7212 644 640 S 0 0.1 0:00.09 tscat
2136 20 0 69884 1088 940 S 0 0.1 0:53.74 brdagent
2137 20 0 30080 1152 968 S 0 0.1 0:21.93 ehmon
2138 20 0 45560 1196 1032 S 0 0.1 0:00.81 chasd
2286 20 0 0 0 0 S 0 0.0 0:00.04 kjournald
2343 20 0 464m 204m 4268 S 0 21.1 88:22.09 mgmtsrvr
2364 20 0 390m 78m 10m S 0 8.1 88:19.21 devsrvr
2372 20 0 88812 2344 1788 S 0 0.2 0:00.85 ikemgr
2373 20 0 239m 11m 2004 S 0 1.2 0:04.17 logrcvr
2374 20 0 96188 2320 1808 S 0 0.2 0:00.60 rasmgr
2375 20 0 95036 1148 1008 S 0 0.1 0:00.46 keymgr
2376 20 0 199m 1516 1180 S 0 0.2 0:00.74 varrcvr
2377 17 -3 54936 2272 1524 S 0 0.2 0:29.27 ha_agent
2378 20 0 86468 1904 1380 S 0 0.2 0:02.32 sslmgr
2379 20 0 55576 3016 1408 S 0 0.3 0:01.16 dhcpd
2380 20 0 168m 33m 32m S 0 3.5 0:15.94 useridd
2381 20 0 73352 4024 1712 S 0 0.4 0:06.71 dnsproxyd
2382 20 0 72592 1928 1512 S 0 0.2 0:00.87 pppoed
2383 20 0 133m 3848 1832 S 0 0.4 0:27.02 routed
2384 20 0 127m 4348 3460 S 0 0.4 0:16.43 authd
3014 20 0 25320 2140 1344 S 0 0.2 0:02.84 snmpd
3051 nobody 20 0 203m 41m 4888 S 0 4.3 10:46.93 appweb3
3640 nobody 20 0 133m 4788 1732 S 0 0.5 0:16.00 appweb3
3654 nobody 20 0 113m 2556 1916 S 0 0.3 0:08.02 appweb3
6952 20 0 2900 628 572 S 0 0.1 0:00.11 crond
9129 20 0 3980 3848 2956 S 0 0.4 0:00.06 ntpd
26980 20 0 21324 2440 2012 S 0 0.2 0:00.18 sshd
26991 admin 20 0 21324 1504 1060 S 0 0.2 0:00.03 sshd
26992 admin 20 0 95068 21m 10m S 0 2.2 0:03.55 cli
28865 admin 20 0 2976 668 564 S 0 0.1 0:00.06 less
28867 20 0 3832 1192 1056 S 0 0.1 0:00.04 sh
28869 20 0 1940 540 464 S 0 0.1 0:00.00 sed
owner: sdarapuneni