top - Windows command-line utility to display information about
top [-d delay] [-q] [-s]
The top(1w) Windows utility displays the system activity
and information of the most CPU-intensive processes on the system
in real time. It provides various interactive commands for
manipulating processes, and it sorts the processes by CPU usage and
The top utility supports the following options:
Specifies the delay time between screen updates, in seconds. It
can be changed by using the s interactive command.
This causes top to refresh without any delay. If a user
having administrative permissions invokes top, it runs with
the highest possible priority.
This option disables the interactive commands k
(kill), r (renice), and s
(update). This is used to run top in secure
The top utility displays two types of information. One is
specific to the CPU and memory information of the system (top
portion), and the other is process-specific information. They are
updated every 5 seconds by default. This delay time can be changed
with the d command-line option or the s interactive
The system-specific information has the following fields:
Displays the current time and the uptime information. The
uptime display can be toggled by the interactive l
(lowercase L) command.
Processes and CPU states
Displays the total number of processes running at the time of
the last update. This also displays the percentage of CPU time used
in kernel, user, and idle mode. This information can be toggled by
the interactive t command.
Displays the statistics of various memory usages. This gives
information about the total available memory, free memory, used
memory, total available swap space, free swap space, and used swap
space. It also displays the amount of cache memory used. This
information can be toggled by the interactive m
The process-specific information has the following fields:
Command name of the process
Process ID of the process
User name of the process
Total CPU time the process has used since it started
Percentage of the CPU time of the process running in privilege
Percentage of the CPU time of the process running in user
Priority of the process
Total amount of physical memory used by the process, in
Size of the swapped-out part of the process
Process's share of the physical memory
Number of threads in the process
Process's share of the CPU time, expressed as the percentage of
total CPU time
The following single-key commands are recognized while
top is running. Some of these commands are disabled if the
s option (run top in secure mode) is given as a
Immediately updates the display.
h or ?
Displays the Help screen, giving a brief summary of
Kills a process. The user is prompted for the PID of the
process to be killed. When the PID is given, the process of the
specified PID is killed if the user has the appropriate permission.
This is not available in secure mode.
n or #
Changes the number of processes to show. The user is prompted
for the number of processes. This overrides automatic determination
of the number of processes to show, which is based on window size
Exits the top utility.
Renices the process. This option prompts the user with the PID
of the process and the nice value. If the PID and nice value
specified are valid, the specified process is reniced subject to
the user having appropriate permissions. This command is not
available in secure mode.
Changes the delay between updates. The user is prompted to
enter the delay time, in seconds. Fractional values are recognized
down to microseconds. Entering 0 (zero) causes continuous updates.
The default value is 5 seconds. Note that low delay time can
greatly raise the CPU load, which is not advisable. This is not
available in secure mode.
(Lowercase L) Toggles display for uptime information.
Toggles display for memory information.
Toggles display for processes and CPU state information.
Displays full path of the command name of the process. This
option prompts the user with the PID of the process. Specifying the
PID displays the path of the corresponding process.