htop/README

64 lines
2.1 KiB
Plaintext
Raw Normal View History

[![Build Status](https://travis-ci.org/hishamhm/htop.svg?branch=master)](https://travis-ci.org/hishamhm/htop)
2006-03-04 18:16:49 +00:00
htop
2014-02-03 11:11:08 +00:00
====
by Hisham Muhammad <hisham@gobolinux.org> (2004 - 2016)
2014-04-05 22:56:35 +00:00
2006-03-04 18:16:49 +00:00
Introduction
2014-02-03 11:11:08 +00:00
------------
2006-03-04 18:16:49 +00:00
This is `htop`, an interactive process viewer.
It requires `ncurses`. It is developed primarily on Linux,
2015-08-28 02:44:58 +00:00
but we also have code for running under FreeBSD and Mac OS X
(help and testing are wanted for these platforms!)
2006-03-04 18:16:49 +00:00
2015-08-28 02:44:15 +00:00
This software has evolved considerably over the years,
2015-08-28 09:27:05 +00:00
and is reasonably complete, but there is always room for improvement.
2006-03-04 18:16:49 +00:00
Comparison between `htop` and classic `top`
2015-08-28 02:44:15 +00:00
-------------------------------------------
2014-02-03 11:11:08 +00:00
* In `htop` you can scroll the list vertically and horizontally
2014-02-03 11:11:08 +00:00
to see all processes and full command lines.
* In `top` you are subject to a delay for each unassigned
2014-02-03 11:11:08 +00:00
key you press (especially annoying when multi-key escape
sequences are triggered by accident).
* `htop` starts faster (`top` seems to collect data for a while
2014-02-03 11:11:08 +00:00
before displaying anything).
* 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.
2006-03-04 18:16:49 +00:00
Compilation instructions
2014-02-03 11:11:08 +00:00
------------------------
2006-03-04 18:16:49 +00:00
This program is distributed as a standard autotools-based package.
See the [INSTALL](/INSTALL) file for detailed instructions, but you are
probably used to the common routine:
./autogen.sh && ./configure && make
If you want to replace currently installed version of `htop` use `--prefix` flag. `--prefix=/usr`
will install `htop` into `/usr/bin/htop`.
./autogen.sh && ./configure --prefix=/usr && make
make install
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.
### Prerequisites
#### Debian/Ubuntu
2014-02-03 11:11:08 +00:00
apt-get install build-essential libncursesw5-dev autotools-dev
2006-03-04 18:16:49 +00:00
## License
2006-03-04 18:16:49 +00:00
GNU General Public License, version 2 (GPL-2.0)