Control plane resources
Control plane resources refer to the memory and CPU components that are monitored to ensure optimal operation of the Cisco IOS process and the overall control plane.
-
Includes monitoring of both memory and CPU usage.
-
Focuses on the Cisco IOS process and the overall control plane.
-
Helps in identifying and preventing potential resource-related issues.
Details of memory and CPU monitoring for control plane resources
These sections provide more information about monitoring memory and CPU resources in the control plane:
System process monitors
Regular monitoring is a proactive approach that ensures system processes and resources are functioning correctly by providing status notifications and enabling timely intervention.
-
Processes provide monitoring and notification of their status or health.
-
Syslog error messages are displayed when a process fails, is stuck, or crashes.
-
Automatic actions include restarting the process or rebooting the router if necessary.
System resources and process health
Monitoring system resources enables early detection of potential problems, helps avoid outages, and establishes a baseline for normal system load.
Consider an scenario where after upgrading hardware or software, you can compare current resource usage with the established baseline to determine if the upgrade has affected system performance. This explains how the system resources monitoring helps maintain the process health.
View Cisco IOS process resource
You can use the show memory and show process cpu commands to view CPU and memory utilization statistics for active processes in Cisco IOS. These commands provide a representation of memory and CPU utilization from the perspective of only the Cisco IOS process; they do not include information for resources on the entire platform.
Procedure
|
Step 1 |
Use the Enter the show memory command in privileged EXEC mode to display memory usage for the Cisco IOS process. Example:
The output displays memory usage statistics for the Cisco IOS process, including total, used, and free memory, as well as detailed memory allocation information. |
|
Step 2 |
Use the show process cpu command to display CPU utilization for the Cisco IOS process. Example:
This command displays CPU utilization averages for five seconds, one minute, and five minutes, as well as per-process statistics for the Cisco IOS process. |
|
Step 3 |
Use the show process cpu platform sorted command to view platform-level CPU utilization. Example:
This command provides CPU utilization statistics for each core and process on the platform, allowing you to identify resource usage beyond the Cisco IOS process. |
Overall Control Plane resources
Provides visibility into control plane resource utilization using the show platform software status control-processor brief and how platform software status control-processor s commands.
Identifies the status values for control processors:
-
Healthy: The processor is operating within normal parameters.
-
Warning: The router is operational, but the operating level requires review.
-
Critical: The router is nearing failure.
Outlines recommended actions when a Warning or Critical status is observed:
-
Reduce static and dynamic loads on the system by limiting configuration elements or dynamic service capacity.
-
Reduce the number of routes, adjacencies, and ACL rules.
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:
-
Total: Total system memory
-
Used: Consumed memory
-
Free: Available memory
-
Committed: Virtual memory committed to processes
CPU utilization
CPU utilization indicates the percentage of time the CPU is busy, 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
Router# show platform software status control-processor
RP0: online, statistics updated 10 seconds ago
Load Average: healthy
1-Min: 1.28, status: healthy, under 5.00
5-Min: 0.74, status: healthy, under 5.00
15-Min: 0.78, status: healthy, under 5.00
Memory (kb): healthy
Total: 8154204
Used: 2282364 (28%), status: healthy
Free: 5871840 (72%)
Committed: 2025108 (25%), under 90%
Per-core Statistics
CPU0: CPU Utilization (percentage of time spent)
User: 2.46, System: 5.53, Nice: 0.00, Idle: 90.87
IRQ: 0.82, SIRQ: 0.20, IOwait: 0.10
CPU1: CPU Utilization (percentage of time spent)
User: 2.24, System: 5.91, Nice: 0.00, Idle: 90.91
IRQ: 0.71, SIRQ: 0.20, IOwait: 0.00
CPU2: CPU Utilization (percentage of time spent)
User: 0.50, System: 1.82, Nice: 0.00, Idle: 97.16
IRQ: 0.50, SIRQ: 0.00, IOwait: 0.00
CPU3: CPU Utilization (percentage of time spent)
User: 13.03, System: 12.88, Nice: 0.00, Idle: 62.51IRQ: 11.55, 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 0.99 0.72 0.77
Memory (kB)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 8154204 2281012 (28%) 5873192 (72%) 2032232 (25%)
CPU Utilization
Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 1.02 1.84 0.00 96.30 0.61 0.10 0.10
1 0.72 1.85 0.00 96.60 0.61 0.20 0.00
2 0.50 1.62 0.00 97.25 0.60 0.00 0.00
3 11.78 14.28 0.00 62.44 11.34 0.14 0.00
Boot Flash Disk Monitoring
Aug 24 07:48:31.088 GMT: %FLASH_CHECK-3-DISK_QUOTA: R0/0: flash_check: Flash disk quota exceeded
[free space is 83820 kB] - Please clean up files on flash1.
Feedback