Control plane memory and CPU utilization on each control processor allows you to keep a tab on the overall control plane resources.
You can use the show platform resources command to monitor the overall system health and resource usage for the IOS XE platforms. Also, you can use the show platform software status control-processor brief command (summary view) or the show platform software status control-processor command (detailed view) to view control plane memory and CPU utilization information.
All control processors should show status, Healthy. Other possible status values are Warning and Critical. Warning indicates
that the device is operational, but that the operating level should be reviewed. Critical implies that the device is nearing
failure.
If you see a Warning
or Critical status, take the following actions:
-
Reduce the static
and dynamic loads on the system by reducing the number of elements in the
configuration or by limiting the capacity for dynamic services.
-
Reduce the number
of routes and adjacencies, limit the number of ACLs and other rules, reduce the
number of VLANs, and so on.
The following sections
describe the fields in the
show platform
software status control-processor command output.
Load
Average
Load average
represents the process queue or process contention for CPU resources. For
example, on a single-core processor, an instantaneous load of 7 would mean that
seven processes are ready to run, one of which is currently running. On a
dual-core processor, a load of 7 would mean that seven processes are ready to
run, two of which are currently running.
Memory
Utilization
Memory utilization
is represented by the following fields:
CPU
Utilization
CPU utilization is
an indication of the percentage of time the CPU is busy, and is represented by
the following fields:
-
CPU—Allocated
processor
-
User—Non-Linux
kernel processes
-
System—Linux
kernel process
-
Nice—Low-priority processes
-
Idle—Percentage
of time the CPU was inactive
-
IRQ—Interrupts
-
SIRQ—System
Interrupts
-
IOwait—Percentage of time CPU was waiting for I/O
Example: show
platform software status control-processor Command
The following are some examples of using the
show platform software status control-processor command:
Router# show platform software status control-processor
RP0: online, statistics updated 3 seconds ago
RP0: online, statistics updated 5 seconds ago
Load Average: healthy
1-Min: 1.35, status: healthy, under 9.30
5-Min: 1.06, status: healthy, under 9.30
15-Min: 1.02, status: healthy, under 9.30
Memory (kb): healthy
Total: 7768456
Used: 2572568 (33%), status: healthy
Free: 5195888 (67%)
Committed: 3112968 (40%), under 90%
Per-core Statistics
CPU0: CPU Utilization (percentage of time spent)
User: 3.00, System: 2.40, Nice: 0.00, Idle: 94.60
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU1: CPU Utilization (percentage of time spent)
User: 0.00, System: 0.00, Nice: 0.00, Idle:100.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU2: CPU Utilization (percentage of time spent)
User: 0.00, System: 0.00, Nice: 0.00, Idle:100.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU3: CPU Utilization (percentage of time spent)
User: 0.00, System: 0.00, Nice: 0.00, Idle:100.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU4: CPU Utilization (percentage of time spent)
User: 7.30, System: 1.70, Nice: 0.00, Idle: 91.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU5: CPU Utilization (percentage of time spent)
User: 3.30, System: 1.50, Nice: 0.00, Idle: 95.20
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU6: CPU Utilization (percentage of time spent)
User: 17.91, System: 11.81, Nice: 0.00, Idle: 70.27
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU7: CPU Utilization (percentage of time spent)
User: 11.91, System: 13.31, Nice: 0.00, Idle: 74.77
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU8: CPU Utilization (percentage of time spent)
User: 2.70, System: 2.00, Nice: 0.00, Idle: 95.30
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU9: CPU Utilization (percentage of time spent)
User: 0.00, System: 0.00, Nice: 0.00, Idle:100.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU10: CPU Utilization (percentage of time spent)
User: 0.00, System: 0.00, Nice: 0.00, Idle:100.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
CPU11: CPU Utilization (percentage of time spent)
User: 0.00, System: 0.00, Nice: 0.00, Idle:100.00
IRQ: 0.00, SIRQ: 0.00, IOwait: 0.00
Router# show platform software status control-processor brief
Load Average
Slot Status 1-Min 5-Min 15-Min
RP0 Healthy 1.14 1.07 1.02
Memory (kB)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 7768456 2573416 (33%) 5195040 (67%) 3115096 (40%)
CPU Utilization
Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 2.80 1.80 0.00 95.39 0.00 0.00 0.00
1 0.00 0.00 0.00 100.00 0.00 0.00 0.00
2 0.00 0.00 0.00 100.00 0.00 0.00 0.00
3 0.00 0.00 0.00 100.00 0.00 0.00 0.00
4 6.80 1.80 0.00 91.39 0.00 0.00 0.00
5 3.20 1.60 0.00 95.19 0.00 0.00 0.00
6 16.30 12.60 0.00 71.10 0.00 0.00 0.00
7 12.40 13.70 0.00 73.90 0.00 0.00 0.00
8 2.40 2.40 0.00 95.19 0.00 0.00 0.00
9 0.00 0.00 0.00 100.00 0.00 0.00 0.00
10 0.00 0.00 0.00 100.00 0.00 0.00 0.00
11 0.00 0.00 0.00 100.00 0.00 0.00 0.00