5-32
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter5 Configuring Multiple Context Mode
Monitoring Security Contexts
Viewing Resource Usage
From the system execution space, you can view the resource usage for each context and display the
system resource usage.
From the system execution space, view the resource usage for each context by entering the following
command:
The following is sample output from the show resource usage context command, which shows the
resource usage for the admin context:
hostname# show resource usage context admin
Resource Current Peak Limit Denied Context
Telnet 1 1 5 0 admin
Conns 44 55 N/A 0 admin
Hosts 45 56 N/A 0 admin
Command Purpose
show resource usage [context context_name
| top n | all | summary | system]
[resource {resource_name | all} | detail]
[counter counter_name [count_threshold]]
By default, all context usage is displayed; each context is listed separately.
Enter the top n keyword to show the contexts that are the top n users of the
specified resource. You must specify a single resource type, and not
resource all, with this option.
The summary option shows all context usage combined.
The system option shows all context usage combined, but shows the
system limits for resources instead of the combined context limits.
For the resource resource_name, see Tab le 5-1 for available resource
names. See also the show resource type command. Specify all (the
default) for all types.
The detail option shows the resource usage of all resources, including
those you cannot manage. For example, you can view the number of TCP
intercepts.
The counter counter_name is one of the following keywords:
current—Shows the active concurrent instances or the current rate of
the resource.
denied—Shows the number of instances that were denied because they
exceeded the resource limit shown in the Limit column.
peak—Shows the peak concurrent instances, or the peak rate of the
resource since the statistics were last cleared, either using the clear
resource usage command or because the device rebooted.
all—(Default) Shows all statistics.
The count_threshold sets the number above which resources are shown.
The default is 1. If the usage of the resource is below the number you set,
then the resource is not shown. If you specify all for the counter name, then
the count_threshold applies to the current usage.
Note To show all resources, set the count_threshold to 0.