Jõudluse jälgimine ja probleemilahendus käsurea utiliitide abil

From ICO wiki
Revision as of 20:15, 6 January 2010 by Hnoorema (talk | contribs)
Jump to navigationJump to search

Autor: Heiki Nooremäe

In most Unix-like operating systems, the top command is a system monitor tool that produces a frequently-updated list of processes. By default, the processes are ordered by percentage of CPU usage, with only the "top" CPU consumers shown. The top command 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.

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

It is also possible to redirect the output of top to a text file.

Ajalugu The top command was inspired by the monitor process/topcpu command found in the VMS operating system. William LeFebvre wrote the first implementation of top in April 1984 for BSD 4.1 while a graduate student at Rice University. It was released as an Open source project under the BSD license, which allowed it to be included in numerous proprietary BSD and UNIX operating systems.

The top command has been reimplemented several times for different operating systems and under different licenses. In AIX an advanced top version was introduced in AIX 4.3 in 1999 called topas.

The first top for Linux was written by Roger Binns; the most recent and common Linux version is a full-color windowed implementation by James C. Warner that ships with the procps package.