TOP(1) Linux Userâs Manual TOP(1)
NAME
top - display Linux tasks
SYNOPSIS
top -hv | -bcHisS -d delay -n iterations -p pid [, pid ...]
The traditional switches â-â and whitespace are optional.
DESCRIPTION
The top program provides a dynamic real-time view of a running system. It can
display system summary information as well as a list of tasks currently being
managed by the Linux kernel. The types of system summary information shown and
the types, order and size of information displayed for tasks are all user config-
urable and that configuration can be made persistent across restarts.
The program provides a limited interactive interface for process manipulation as
well as a much more extensive interface for personal configuration -- encom-
passing every aspect of its operation. And while top is referred to throughout
this document, you are free to name the program anything you wish. That new
name, possibly an alias, will then be reflected on topâs display and used when
reading and writing a configuration file.
OVERVIEW
Documentation
The remaining Table of Contents
1. COMMAND-LINE Options
2. FIELDS / Columns
a. DESCRIPTIONS of Fields
b. SELECTING and ORDERING Columns
3. INTERACTIVE Commands
a. GLOBAL Commands
b. SUMMARY Area Commands
c. TASK Area Commands
d. COLOR Mapping
4. ALTERNATE-DISPLAY Mode
top - 09:30:23 up 6:10, 1 user, load average: 0.28, 0.31, 0.27 Tasks: 145 total, 1 running, 144 sleeping, 0 stopped, 0 zombie Cpu(s): 8.5%us, 0.7%sy, 0.0%ni, 90.5%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 3373672k total, 2447740k used, 925932k free, 94920k buffers Swap: 2096472k total, 0k used, 2096472k free, 2012876k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2123 mysql 20 0 139m 22m 3972 S 15 0.7 102:07.25 mysqld 16274 apache 20 0 38460 13m 4772 S 1 0.4 0:00.86 httpd 15336 apache 20 0 38968 13m 4764 S 1 0.4 0:00.99 httpd 17316 apache 20 0 38436 13m 4612 S 1 0.4 0:00.16 httpd 2260 cyrus 20 0 12948 2804 1684 S 0 0.1 0:00.57 cyrus-master 16984 apache 20 0 38452 13m 4656 S 0 0.4 0:00.37 httpd 17981 apache 20 0 38440 13m 4692 S 0 0.4 0:00.12 httpd 18244 root 20 0 2260 1040 796 R 0 0.0 0:00.07 top 1 root 20 0 2136 644 556 S 0 0.0 0:00.92 init 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 15 -5 0 0 0 S 0 0.0 0:00.01 ksoftirqd/1 8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 15 -5 0 0 0 S 0 0.0 0:00.09 events/0 10 root 15 -5 0 0 0 S 0 0.0 0:00.08 events/1 11 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper 52 root 15 -5 0 0 0 S 0 0.0 0:00.13 kblockd/0 53 root 15 -5 0 0 0 S 0 0.0 0:00.06 kblockd/1 54 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid 55 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify 150 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/0 151 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/1 152 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksuspend_usbd 155 root 15 -5 0 0 0 S 0 0.0 0:00.00 khubd 157 root 15 -5 0 0 0 S 0 0.0 0:00.00 kseriod 184 root 20 0 0 0 0 S 0 0.0 0:00.77 pdflush 186 root 15 -5 0 0 0 S 0 0.0 0:00.00 kswapd0 238 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/0