hit counter script
Download Print this page

Advertisement

sysstatus

sysstatus
The sysstatus 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 can provide an interactive interface for
manipulating processes. It can sort the tasks by CPU usage, memory usage, and runtime.
To view the current CPU activities, enter:
If you execute the command and you do not select the batch mode option, you are running in an
interactive environment. In this environment, you can interact with the output as follows:
Syntax Description
noneThe default behavior of this command displays the current CPU activities.
-hDisplays the detailed command's usage guidelines.
-dSpecifies the delay between screen updates. You can change this delay using the -s interactive
command.
-pMonitors only those processes with the given process id. This flag can be given up to twenty times.
This option is not available interactively.
Install and Setup Guide for Cisco Security MARS
A-76
sysstatus -hvbcisqS -d delay -p pid -n iterations
Press H or ? to get the list of interactive commands.
Press the space key to refresh the data immediately.
Press Ctrl+L to erase and redraw the screen.
Press K to kill a specific process ID (pid).
Press Q to quit viewing the real-time data and return to the command prompt.
Press Ctrl+C to break the batch mode display.
Press I to toggle ignoring idle and zombie processes.
Press N or # to specify the number of processes to display on the screen. The value of zero (0)
restores the default, which is the number of processes that fit on the screen.
Press S to toggles the cumulative mode, the equivalent of -S, that includes a process's defunct
children as part of the CPU times.
Press f or F to add fields or remove fields from the display.
Press o or O to change the order of the displayed fields.
Press L to toggle the display of load average and uptime information.
Press M to toggle the display of memory information.
Press T to toggle the display of processes and CPU states information.
Press C to toggle the display of command name or full command line.
Press N to sort the tasks numerically by pid.
Press A to sort the tasks by age (newest first).
Press P to sort the tasks by CPU usage (default).
Press M to sort the tasks by resident memory usage.
Press T to sort the tasks by time/cumulative time.
Appendix A
Command Reference
OL-14672-01

Advertisement

loading