25.
Status Monitoring, Statistics and General Commands
MN700004 Rev 01
291
show cpu utilization
The
show
cpu utilization
command, in Privileged (Enable) mode, displays the CPU usage
real time from switch startup.
ESB26 employs the lowest priority task scheduling mechanism to measure CPU utilization.
This technique works by queuing a task that is supposed to run at the lowest possible priority
in the system. This task is designed to be always ready to run. Since all useful application
tasks have a priority higher than this task, the operating system will schedule this task only
when it finds that no other task is in active state. Thus, the time this lowest-priority task is in
active state actually represents the CPU idle time. The idle ticks provided by the task are
counted by another process (which has the highest priority) and averaged for preset
calculation periods.
The calculation of the CPU utilization is obtained by dividing the number of the idle ticks by
the total ticks for a calculation period and presenting the result in percentage format indicating
the CPU utilization (0-100%).
Command Syntax
device-name
#
show cpu utilization
Example
device-name
#
show cpu utilization
CPU usage 6%
show system
Displays system information for testing and debugging purposes. This command is intended
only for Nokia technical support and is protected with a system password.
Passwords
Two password levels can be configured in the Nokia ESB26 switch.
•
View mode
password.
•
Privileged mode password.
All passwords are encrypted. If you encounter problems in gaining access using the
passwords, please contact Nokia support.
password
The
password
command, in Global Configuration mode, sets the switch’s login password.
The factory-default password is
nokia
.
To enter View mode, when the switch is logged off, enter the password at the
password
prompt.