Execute the following steps to configure resource monitoring.
-
Enter global configuration mode.
device# configure terminal
-
Issue the
resource-monitor cpu enable command to enable the CPU utilization monitoring service.
device(config)# resource-monitor cpu enable
-
Issue the
resource-monitor memory command to enable the system memory monitoring and generate raslog when the memory usage exceeds threshold value.
-
Issue the resource-monitor process memory
command to enable the per-process memory monitoring and generate alarm or raslog when the usage exceeds alarms threshold or critical threshold respectively.
-
(Optional) Issue the how running-configuration command to view the resource monitoring running configuration.