General/High Level Assessment Of Platform Memory Utilization; User Processes - Cisco Nexus 9000 Series Troubleshooting Manual

Nx-os release 7.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

General/High Level Assessment of Platform Memory Utilization

General/High Level Assessment of Platform Memory Utilization
You can assess the overall level of memory utilization on the platform by using two basic CLI commands:
show system resourcesand show processes memory.
From these command outputs, you might be able to tell that platform utilization is higher than
Note
normal/expected, but you will not be able to tell what type of memory usage is high.
The show system resources command displays platform memory statistics.
switch# show system resources
Load average: 1 minute: 0.43 5 minutes: 0.30 15 minutes: 0.28
Processes : 884 total, 1 running
CPU states : 2.0% user, 1.5% kernel, 96.5% idle
Memory usage: 4135780K total, 3423272K used, 712508K free
0K buffers, 1739356K cache
This output is derived from the Linux memory statistics in /proc/meminfo.
Note
• total—The amount of physical RAM on the platform.
• free—The amount of unused or available memory.
• used—The amount of allocated (permanent) and cached (temporary) memory.
The cache and buffers are not relevant to customer monitoring.
This information provides a general representation of the platform utilization only. You need more information
to troubleshoot why memory utilization is high.
The show processes memory command displays the memory allocation per process.
switch# show processes memory
Load average: 1 minute: 0.43 5 minutes: 0.30 15 minutes: 0.28
Processes : 884 total, 1 running
CPU states : 2.0% user, 1.5% kernel, 96.5% idle
PID
---- -------- --------- --------- ----------------- ----------------
4662 52756480 562929945 150167552 bfffdf00/bfffd970 netstack

User Processes

If page cache and kernel issues have been ruled out, utilization might be high as a result of some user processes
taking up too much memory or a high number of running processes (due to the number of features enabled).
Cisco NX-OS defines memory limits for most processes (rlimit). If this rlimit is exceeded, sysmgr will
Note
crash the process, and a core file is usually generated. Processes close to their rlimit may not have a large
impact on platform utilization but could become an issue if a crash occurs.
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
70
MemAlloc MemLimit
MemUsed
StackBase/Ptr
Process
Troubleshooting Memory

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents