README 2.28 KB
Newer Older
1
[![Build Status](https://travis-ci.org/hishamhm/htop.svg?branch=master)](https://travis-ci.org/hishamhm/htop)
Hisham's avatar
Hisham committed
2
[![PayPal donate](https://img.shields.io/badge/paypal-donate-green.svg)](http://hisham.hm/htop/index.php?page=donate)
3
4

[htop](http://hisham.hm/htop/)
Hisham Muhammad's avatar
Hisham Muhammad committed
5
6
====

Nathan Scott's avatar
Nathan Scott committed
7
8
9
10
11
by Hisham Muhammad <hisham@gobolinux.org> (2004 - 2018)

This repository is archived as htop is now maintained by a team of
volunteers at [htop.dev](https://htop.dev/) using an organisation-
based git [repository](https://github.com/htop-dev/htop/).
Hisham Muhammad's avatar
Hisham Muhammad committed
12

Hisham Muhammad's avatar
Hisham Muhammad committed
13
Introduction
Hisham Muhammad's avatar
Hisham Muhammad committed
14
------------
Hisham Muhammad's avatar
Hisham Muhammad committed
15

16
17
This is `htop`, an interactive process viewer.
It requires `ncurses`. It is developed primarily on Linux,
Nathan Scott's avatar
Nathan Scott committed
18
but we also have code for running under FreeBSD and Mac OS X.
Hisham Muhammad's avatar
Hisham Muhammad committed
19

Hisham Muhammad's avatar
Hisham Muhammad committed
20
This software has evolved considerably over the years,
Christian Hesse's avatar
Christian Hesse committed
21
and is reasonably complete, but there is always room for improvement.
Hisham Muhammad's avatar
Hisham Muhammad committed
22

23
Comparison between `htop` and classic `top`
Hisham Muhammad's avatar
Hisham Muhammad committed
24
-------------------------------------------
Hisham Muhammad's avatar
Hisham Muhammad committed
25

26
* In `htop` you can scroll the list vertically and horizontally
Hisham Muhammad's avatar
Hisham Muhammad committed
27
  to see all processes and full command lines.
28
* In `top` you are subject to a delay for each unassigned
Hisham Muhammad's avatar
Hisham Muhammad committed
29
30
  key you press (especially annoying when multi-key escape
  sequences are triggered by accident).
31
* `htop` starts faster (`top` seems to collect data for a while
Hisham Muhammad's avatar
Hisham Muhammad committed
32
  before displaying anything).
33
34
35
36
37
38
* In `htop` you don't need to type the process number to
  kill a process, in `top` you do.
* In `htop` you don't need to type the process number or
  the priority value to renice a process, in `top` you do.
* In `htop` you can kill multiple processes at once.
* `top` is older, hence, more tested.
Hisham Muhammad's avatar
Hisham Muhammad committed
39
40

Compilation instructions
Hisham Muhammad's avatar
Hisham Muhammad committed
41
------------------------
Hisham Muhammad's avatar
Hisham Muhammad committed
42
43

This program is distributed as a standard autotools-based package.
Hisham's avatar
Hisham committed
44
45
See the [INSTALL](/INSTALL) file for detailed instructions.

46
When compiling from a [release tarball](https://hisham.hm/htop/releases/), run:
Hisham's avatar
Hisham committed
47
48
49
50

    ./configure && make

For compiling sources downloaded from the Git repository, run:
51
52
53

    ./autogen.sh && ./configure && make

54
55
By default `make install` will install into `/usr/local`, for changing
the path use `./configure --prefix=/some/path`.
56
57
58
59
60
61
62

See the manual page (`man htop`) or the on-line help ('F1' or 'h'
inside `htop`) for a list of supported key commands.

If not all keys work check your curses configuration.

## License
Hisham Muhammad's avatar
Hisham Muhammad committed
63

64
GNU General Public License, version 2 (GPL-2.0)