top (software)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
top
BSD-unix-top-plain.png
Stable release 3.2.8
Written in C
Operating system Unix-like
Type Process Viewer / System monitor
License GNU General Public License
Website

www.unixtop.org

procps.sourceforge.net

top is a task manager program found in many Unix-like operating systems. It produces an ordered list of running processes selected by user-specified criteria, and updates it periodically. Default ordering by CPU usage, and only the top CPU consumers shown (hence the name). top shows how much processing power and memory are being used, as well as other information about the running processes. Some versions of top allow extensive customization of the display, such as choice of columns or sorting method.

top is useful for system administrators, as it shows which users and processes are consuming the most system resources at any given time.

On Solaris, the roughly equivalent program is prstat. MS-DOS has tasklist and graphical Microsoft operating systems have the Windows Task Manager. IBM AIX has an updating running processes list as part of the topas and topas_nmon commands.

The load average numbers in Linux refers to the sum of the number of processes waiting in the run-queue plus the number currently executing. The number is absolute, not relative. And thus it can be unbounded; unlike utilization. The instant variations of the number of processes are damped with a exponential decay formula which is calculated using fixed point math.[1]

The ps program is similar to top, but instead produces a snapshot of processes taken at the time of invocation.

See also[edit]

  • Htop — interactive system-monitor process-viewer written for Linux
  • nmon — a system monitor tool for the AIX and Linux operating systems.
  • Harmonic mean — a pythagorean mean

External links[edit]

References[edit]

  1. ^ "UNIX Load Average Part 2: Not Your Average Average". teamquest.com. 2010. Retrieved 2013-06-10.