mirror of https://github.com/xzeldon/htop.git
add travis badge, code formatting, updated compilation instructions
This commit is contained in:
parent
b6f927bffa
commit
d408c74465
59
README
59
README
|
@ -1,50 +1,63 @@
|
||||||
|
[![Build Status](https://travis-ci.org/hishamhm/htop.svg?branch=master)](https://travis-ci.org/hishamhm/htop)
|
||||||
htop
|
htop
|
||||||
====
|
====
|
||||||
|
|
||||||
by Hisham Muhammad <hisham@gobolinux.org>
|
by Hisham Muhammad <hisham@gobolinux.org> (2004 - 2016)
|
||||||
|
|
||||||
2004 - 2015
|
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
|
|
||||||
This is htop, an interactive process viewer.
|
This is `htop`, an interactive process viewer.
|
||||||
It requires ncurses. It is developed primarily on Linux,
|
It requires `ncurses`. It is developed primarily on Linux,
|
||||||
but we also have code for running under FreeBSD and Mac OS X
|
but we also have code for running under FreeBSD and Mac OS X
|
||||||
(help and testing are wanted for these platforms!)
|
(help and testing are wanted for these platforms!)
|
||||||
|
|
||||||
This software has evolved considerably over the years,
|
This software has evolved considerably over the years,
|
||||||
and is reasonably complete, but there is always room for improvement.
|
and is reasonably complete, but there is always room for improvement.
|
||||||
|
|
||||||
Comparison between 'htop' and classic 'top'
|
Comparison between `htop` and classic `top`
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
* In 'htop' you can scroll the list vertically and horizontally
|
* In `htop` you can scroll the list vertically and horizontally
|
||||||
to see all processes and full command lines.
|
to see all processes and full command lines.
|
||||||
* In 'top' you are subject to a delay for each unassigned
|
* In `top` you are subject to a delay for each unassigned
|
||||||
key you press (especially annoying when multi-key escape
|
key you press (especially annoying when multi-key escape
|
||||||
sequences are triggered by accident).
|
sequences are triggered by accident).
|
||||||
* 'htop' starts faster ('top' seems to collect data for a while
|
* `htop` starts faster (`top` seems to collect data for a while
|
||||||
before displaying anything).
|
before displaying anything).
|
||||||
* In 'htop' you don't need to type the process number to
|
* In `htop` you don't need to type the process number to
|
||||||
kill a process, in 'top' you do.
|
kill a process, in `top` you do.
|
||||||
* In 'htop' you don't need to type the process number or
|
* In `htop` you don't need to type the process number or
|
||||||
the priority value to renice a process, in 'top' you do.
|
the priority value to renice a process, in `top` you do.
|
||||||
* In 'htop' you can kill multiple processes at once.
|
* In `htop` you can kill multiple processes at once.
|
||||||
* 'top' is older, hence, more tested.
|
* `top` is older, hence, more tested.
|
||||||
|
|
||||||
Compilation instructions
|
Compilation instructions
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
This program is distributed as a standard autotools-based package.
|
This program is distributed as a standard autotools-based package.
|
||||||
See the INSTALL file for detailed instructions, but you are
|
See the [INSTALL](/INSTALL) file for detailed instructions, but you are
|
||||||
probably used to the common `./configure`/`make`/`make install` routine.
|
probably used to the common routine:
|
||||||
|
|
||||||
When fetching the code from the development repository, you need
|
./autogen.sh && ./configure && make
|
||||||
to run the `./autogen.sh` script, which in turn requires autotools
|
|
||||||
to be installed.
|
|
||||||
|
|
||||||
See the manual page (man htop) or the on-line help ('F1' or 'h'
|
If you want to replace currently installed version of `htop` use `--prefix` flag. `--prefix=/usr`
|
||||||
inside htop) for a list of supported key commands.
|
will install `htop` into `/usr/bin/htop`.
|
||||||
|
|
||||||
if not all keys work check your curses configuration.
|
./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
|
||||||
|
|
||||||
|
apt-get install build-essential libncursesw5-dev autotools-dev
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
GNU General Public License, version 2 (GPL-2.0)
|
||||||
|
|
Loading…
Reference in New Issue