Show cpu – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 226
![background image](/manuals/427254/226/background.png)
System Configuration and Monitoring Commands
Software Reference for x310 Series Switches
8.26
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
show cpu
This command displays a list of running processes with their CPU utilization.
For information on output options, see
“Controlling “show” Command Output” on
Syntax
show cpu [
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:
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:
Parameter
Description
Stack member number, from 1 to 4.
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.
awplus#
show cpu sort thrds
awplus#
show cpu 2