CHAPTER 15
Troubleshooting Service Failures
This chapter contains the following sections:
•
Identifying Memory Allocations for Processes, page 85
•
Identifying CPU Utilization for Processes, page 86
•
Monitoring Process Core Files, page 87
•
Processing the Crash Core Files, page 87
•
Clearing the Core, page 87
•
Enabling Auto-Copy for Core Files, page 88
Identifying Memory Allocations for Processes
You can identify the allocation, limit, memory allocation, and usage for each process in the memory. The
following is a sample output from the show processes memory command. This output has been abbreviated
to make the example more concise.
switch# show processes memory
PID MemAlloc MemLimit MemUsed StackBase/Ptr Process
---- -------- -------- ------- ----------------- -----------
1 159744 0 2027520 ff808d30/ffffffff init
2 0 0 0 0/0 kthreadd
3 0 0 0 0/0 migration/0
4 0 0 0 0/0 ksoftirqd/0
5 0 0 0 0/0 watchdog/0
6 0 0 0 0/0 migration/1
7 0 0 0 0/0 ksoftirqd/1
8 0 0 0 0/0 watchdog/1
9 0 0 0 0/0 migration/2
10 0 0 0 0/0 ksoftirqd/2
11 0 0 0 0/0 watchdog/2
12 0 0 0 0/0 migration/3
13 0 0 0 0/0 ksoftirqd/3
14 0 0 0 0/0 watchdog/3
15 0 0 0 0/0 migration/4
16 0 0 0 0/0 ksoftirqd/4
17 0 0 0 0/0 watchdog/4
18 0 0 0 0/0 migration/5
19 0 0 0 0/0 ksoftirqd/5
20 0 0 0 0/0 watchdog/5
21 0 0 0 0/0 migration/6
22 0 0 0 0/0 ksoftirqd/6
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
85