SRC-PE 2.0.x Monitoring and Troubleshooting Guide > Monitoring and Troubleshooting NIC with the SRC CLI
> Viewing Statistics About NIC Operations
Viewing Statistics About NIC Operations
You can view statistics for the NIC process and for various NIC components. Table 22 lists the commands you use to view NIC statistics.
Table 22: Commands to Display NIC Statistics
|
|
show nic statistics
|
All NIC statistics. The output for this command includes the output for the other show nic statistics commands.
|
show nic statistics agent
|
NIC statistics for agents.
|
show nic statistics host
|
NIC statistics for a NIC host.
|
show nic statistics process
|
NIC statistics for the NIC process.
|
show nic statistics resolver
|
NIC statistics for resolvers.
|
show nic statistics slot
|
All NIC statistics for a specified slot. The output for this command includes the output for the show nic statistics agent , show nic statistics host , show nic statistics process , and show nic statistics resolver commands.
|
Viewing Statistics for the NIC Process
To view statistics for the NIC process:
user@host> show nic statistics process
Component Statistics
Component Name process
Heap in use 456194 bytes (87%)
Heap limit 524288 bytes
Threads 42
Up time 747848 seconds since Wed Jan 31 19:35:57 EST 2007
Table 23 describes the output fields for the show nic statistics process
command. Output fields are listed in the order in which they appear.
Table 23: show nic statistics process Output Fields
|
|
Component name
|
Name of component—process indicates the NIC process.
|
Heap in use
|
Heap size allocated by the Java Virtual Machine. The percentage indicates the percentage of the heap in use. We recommend that if the percent in use is more than 90% additional heap be allocated for the NIC.
|
Heap limit
|
Size of Java heap configured for the NIC.
|
Threads
|
Number of threads in use.
|
Up time
|
Length of time NIC has been running on the system. Includes the date and time at which NIC was last started.
|
Viewing Statistics for a NIC Host
To view statistics for a NIC host:
user@host> show nic statistics host
Component Statistics
Component Name /hosts
Number of Components Restart 0
Number of No Match Resolutions 0
Number of Resolution Errors 0
Number of Resolutions 0
Table 24 describes the output fields for the show nic statistics host
command. Output fields are listed in the order in which they appear.
Table 24: show nic statistics host Output Fields
|
|
Component name
|
Name of component—/hosts indicates NIC host. A specific host has the format /hosts/ hostname .
|
Number of Components Restart
|
Number of NIC resolvers and agents that have restarted in the host.
|
Number of No Match Resolutions
|
Number of resolution requests that did not return data.
|
Number of Resolution Errors
|
Number of errors encountered when processing resolutions requests.
|
Number of Resolutions
|
Number of successful data resolutions; for example, the SAE reference for a specified IP address, the login name for a specified IP address, or the SAE reference for a specified login name.
|
Viewing Statistics for NIC Resolvers
To interpret the statistics for NIC resolvers, make sure that you have a good understanding of the NIC resolutions process.
See SRC-PE Network Guide, Chapter 17, NIC Resolution Process.
To view statistics for NIC resolvers:
user@host> show nic statistics resolver
Component Statistics
Component Name /realms/login/A1
Number of Data Sources 0
Resolver Size 0
Component Statistics
Component Name /realms/login/B1
Number of Data Sources 1
Resolver Size 0
Component Statistics
Component Name /realms/login/C1
Number of Data Sources 1
Resolver Size 2140
Component Statistics
Component Name /realms/login/D1
Number of Data Sources 2
Resolver Size 0
Table 25 describes the output fields for the show nic statistics resolver
command. Output fields are listed in the order in which they appear.
Table 25: show nic statistics resolver Output Fields
|
|
Component name
|
Name of a resolver. Resolver names have the format /realms/ realm-name / resolver name .
|
Number of Data Sources
|
The number of sources from which the resolver obtains data. A data source can be an agent or another resolver.
|
Resolver Size
|
The number of keys (or number of mappings) required to perform this resolution.
|
Viewing Statistics for NIC Agents
To interpret the statistics for NIC agents, make sure that you have a good understanding of the NIC agents.
See SRC-PE Network Guide, Chapter 9, Locating Subscriber Information with the NIC.
To view statistics for NIC agents:
user@host> show nic statistics agent
Component Statistics
Component Name /agents/LoginNameVr
Agent Type Passive
Connection to Data Source Up
Data Size 262141
Component Statistics
Component Name /agents/VrSaeId
Agent Type Active
Connection to Data Source Up
Data Size 2212
Component Statistics
Component Name /agents/IpLoginName
Agent Type Passive
Connection to Data Source Up
Data Size 262141
Component Statistics
Component Name /agents/Pool
Agent Type Active
Connection to Data Source Up
Data Size 3
Table 26 describes the output fields for the show nic statistics agent
command. Output fields are listed in the order in which they appear.
Table 26: show nic statistics agent Output Fields
|
|
Component name
|
Name of an agent. Agent names have the format /agents/ agent-name .
|
Agent Type
|
Type of agent—active or passive. Active agents publish data whether or not a resolver requests the data. Passive agents provide information only when a resolver requests it.
|
Connection to Data Source
|
Whether or not the agent has a connection to its data source; for example, a directory agent to the directory, or an SAE plug-in agent to the CORBA naming server.
|
Data Size
|
Number of key to value mappings for the agent.
|