Specifications
3-416
Cisco Wide Area Application Services Command Reference
OL-21611-01
Chapter 3 CLI Commands
top
top
To view the current top CPU activities, use the top EXEC command.
top -hv | -cisS -d delay -n iterations [-u user | -U user] -p pid [,pid ...]
Syntax Description
Defaults No default behavior or values.
Command Modes EXEC
Device Modes application-accelerator
central-manager
Usage Guidelines The top command is a system-defined alias for the Linux top command, which displays and updates
information about the top CPU processes. It provides a real-time view of the processor activity. It lists
the most CPU-intensive tasks on the system, and provides an interactive interface for manipulating
processes. It can sort the tasks by CPU usage, memory usage, and runtime.
The command runs in an interactive environment and you can interact with the output by pressing
various keys. Press h or ? to display the following help for interactive commands:
Help for Interactive Commands - procps version 3.2.5
Window 1:Def: Cumulative mode Off. System: Delay 3.0 secs; Secure mode Off.
Z,B Global: 'Z' change color mappings; 'B' disable/enable bold
l,t,m Toggle Summaries: 'l' load avg; 't' task/cpu stats; 'm' mem info
-h (Optional) Print help information and exit.
-v (Optional) Print version information and exit.
-c (Optional) Display the command line instead of the command name only.
-i (Optional) Suppress display of any idle or zombie processes.
-s (Optional) Tells top to run in secure mode. This option disables the
potentially dangerous interactive commands.
-S (Optional) Specifies cumulative mode, where each process is listed with the
CPU time it has spent. It also lists the CPU time of the dead children for
each process.
-d delay (Optional) Specifies the delay between screen updates.
-n iterations (Optional) Number of iterations. Update the display this number of times
and then exit.
-u user (Optional) Monitor only processes with the specified effective UID or
username.
-p pid (Optional) Monitors only those processes with the given process id. This
option can be given up to twenty times. This option is not available
interactively.