C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
223
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
YSTEM
C
ONFIGURATION
AND
M
ONITORING
C
OMMANDS
SHOW
CPU
show cpu
Overview
This command displays a list of running processes with their CPU utilization.
For information on filtering and saving command output, see “Controlling “show”
Command Output” in the
“Getting Started with AlliedWare Plus” Feature Overview
and Configuration Guide
.
Syntax
show cpu [
<stack-ID>
] [sort {thrds|pri|sleep|runtime}]
Mode
User Exec and Privileged Exec
Usage
Entering this command on the stack master will display the information for all the
stack members. A stack member heading will distinguish the different information
for every stack member device.
Examples
To show the CPU utilization of current processes, sorting them by the number of
threads the processes are using, use the command:
awplus#
show cpu sort thrds
Note that in a stack environment, executing this command on the stack master will
show CPU utilization for all stack members.
To show CPU utilization for a specific stack member (in this case stack member 2),
use the following command:
awplus#
show cpu 2
Parameter
Description
<stack-ID>
Stack member number, from 1 to 8.
sort
Changes the sorting order using the following fields. If you do not
specify a field, then the list is sorted by percentage CPU
utilization.
thrds
Sort by the number of threads.
pri
Sort by the process priority.
sleep
Sort by the average time sleeping.
runtime
Sort by the runtime of the process.