| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 1 | |
| 2 | htop |
| Hisham Muhammad | 817e292 | 2014-02-03 09:11:08 -0200 | [diff] [blame^] | 3 | ==== |
| 4 | |
| Hisham Muhammad | 7fd5e80 | 2014-01-14 00:19:44 -0200 | [diff] [blame] | 5 | by Hisham Muhammad <hisham@gobolinux.org> |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 6 | |
| Hisham Muhammad | 7fd5e80 | 2014-01-14 00:19:44 -0200 | [diff] [blame] | 7 | May, 2004 - January, 2014 |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 8 | |
| 9 | Introduction |
| Hisham Muhammad | 817e292 | 2014-02-03 09:11:08 -0200 | [diff] [blame^] | 10 | ------------ |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 11 | |
| 12 | This is htop, an interactive process viewer. |
| Hisham Muhammad | 07030b4 | 2006-07-11 06:20:33 +0000 | [diff] [blame] | 13 | It requires ncurses. It is tested with Linux 2.6, |
| 14 | but is also reported to work (and was originally developed) |
| 15 | with the 2.4 series. |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 16 | |
| 17 | Note that, while, htop is Linux specific -- it is based |
| 18 | on the Linux /proc filesystem -- it is also reported to work |
| 19 | with FreeBSD systems featuring a Linux-compatible /proc. |
| Hisham Muhammad | d82e31b | 2010-11-20 19:49:24 +0000 | [diff] [blame] | 20 | This is, however, unsupported. Contact the packager for your |
| 21 | system when reporting problems on platforms other than Linux. |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 22 | |
| Hisham Muhammad | d82e31b | 2010-11-20 19:49:24 +0000 | [diff] [blame] | 23 | This software has evolved considerably during the last years, |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 24 | and is reasonably complete, but there is still room for |
| 25 | improvement. Read the TODO file to see what's known to be missing. |
| 26 | |
| 27 | Comparison between 'htop' and 'top' |
| Hisham Muhammad | 817e292 | 2014-02-03 09:11:08 -0200 | [diff] [blame^] | 28 | ----------------------------------- |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 29 | |
| Hisham Muhammad | 817e292 | 2014-02-03 09:11:08 -0200 | [diff] [blame^] | 30 | * In 'htop' you can scroll the list vertically and horizontally |
| 31 | to see all processes and full command lines. |
| 32 | * In 'top' you are subject to a delay for each unassigned |
| 33 | key you press (especially annoying when multi-key escape |
| 34 | sequences are triggered by accident). |
| 35 | * 'htop' starts faster ('top' seems to collect data for a while |
| 36 | before displaying anything). |
| 37 | * In 'htop' you don't need to type the process number to |
| 38 | kill a process, in 'top' you do. |
| 39 | * In 'htop' you don't need to type the process number or |
| 40 | the priority value to renice a process, in 'top' you do. |
| 41 | * In 'htop' you can kill multiple processes at once. |
| 42 | * 'top' is older, hence, more tested. |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 43 | |
| 44 | Compilation instructions |
| Hisham Muhammad | 817e292 | 2014-02-03 09:11:08 -0200 | [diff] [blame^] | 45 | ------------------------ |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 46 | |
| 47 | This program is distributed as a standard autotools-based package. |
| 48 | See the INSTALL file for detailed instructions, but you are |
| Hisham Muhammad | 817e292 | 2014-02-03 09:11:08 -0200 | [diff] [blame^] | 49 | probably used to the common `./configure`/`make`/`make install` routine. |
| 50 | |
| 51 | When fetching the code from the development repository, you need |
| 52 | to run the `./autogen.sh` script, which in turn requires autotools |
| 53 | to be installed. |
| Hisham Muhammad | d6231ba | 2006-03-04 18:16:49 +0000 | [diff] [blame] | 54 | |
| 55 | See the manual page (man htop) or the on-line help ('F1' or 'h' |
| 56 | inside htop) for a list of supported key commands. |
| 57 | |
| 58 | if not all keys work check your curses configuration. |