What Command is Used to View Swap Allocation and Usage?

What Command is Used to View Swap Allocation and Usage?

40932
Created On 09/25/18 19:54 PM - Last Modified 06/08/23 06:10 AM


Resolution


The 'show system resource follow' command can be used to view the swap memory allocation and usage on the Palo Alto Networks device.

In the following example, the swap allocation is 2008084k with 102080k used and 1906004 free:

>show system resource follow

top - 17:05:18 up 18 days,  1:45,  2 users,  load average: 0.04, 0.04, 0.00

Tasks:  93 total,   1 running,  92 sleeping,   0 stopped,   0 zombie

Cpu(s):  0.5%us,  0.2%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st

Mem:    995872k total,   892600k used,   103272k free,    67816k buffers

Swap:  2008084k total,   102080k used,  1906004k free,   212624k cached

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

29711 admin     20   0  4532 1152  916 R    1  0.1   0:00.50 top

2298 root      15  -5 38968 3676 1992 S    0  0.4 172:37.61 sysd

2300 root       0 -20 32344 6264 1624 S    0  0.6  55:12.21 masterd_manager

    1 root      20   0  1836  564  536 S    0  0.1   0:01.35 init 

    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd

    3 root      RT   0     0    0    0 S    0  0.0   0:03.84 migration/0

    4 root      20   0     0    0    0 S    0  0.0   0:00.03 ksoftirqd/0

    5 root      RT   0     0    0    0 S    0  0.0   0:06.01 migration/1

    6 root      20   0     0    0    0 S    0  0.0   0:00.04 ksoftirqd/1

    7 root      20   0     0    0    0 S    0  0.0   1:08.25 events/0

    8 root      20   0     0    0    0 S    0  0.0   0:24.56 events/1

    9 root      20   0     0    0    0 S    0  0.0   0:00.02 khelper

   12 root      20   0     0    0    0 S    0  0.0   0:00.00 async/mgr

  112 root      20   0     0    0    0 S    0  0.0   0:00.00 sync_supers

  114 root      20   0     0    0    0 S    0  0.0   0:00.00 bdi-default 

  115 root      20   0     0    0    0 S    0  0.0   0:00.87 kblockd/0

owner: pchanda



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClhDCAS&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language