commit | 9dea20e06847f930920406e6de539db32e2644e0 | [log] [download] |
---|---|---|
author | Explorer09 <explorer09@gmail.com> | Wed May 04 13:39:26 2016 +0800 |
committer | Explorer09 <explorer09@gmail.com> | Wed May 04 13:39:26 2016 +0800 |
tree | 9fa1d0fcf5d166ad0b8fddb74ba541b0252d1727 | |
parent | 2ea4bee66dfe496ee649ecb81245b70554774975 [diff] |
Rename Meter.setValues() functions to updateValues() Rationale (copied from htop issue #471): The function name "setValues" is misleading. For most OOP (object- oriented programming) contexts, setXXX functions mean they will change some member variables of an object into something specified in function arguments. But in the *Meter_setValues() case, the new values are not from the arguments, but from a hard-coded source. The caller is not supposed to change the values[] to anything it likes, but rather to "update" the values from the source. Hence, updateValues is a better name for this family of functions.
by Hisham Muhammad hisham@gobolinux.org (2004 - 2016)
This is htop
, an interactive process viewer. It requires ncurses
. It is developed primarily on Linux, but we also have code for running under FreeBSD and Mac OS X (help and testing are wanted for these platforms!)
This software has evolved considerably over the years, and is reasonably complete, but there is always room for improvement.
htop
and classic top
htop
you can scroll the list vertically and horizontally to see all processes and full command lines.top
you are subject to a delay for each unassigned 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 before displaying anything).htop
you don't need to type the process number to kill a process, in top
you do.htop
you don't need to type the process number or the priority value to renice a process, in top
you do.htop
you can kill multiple processes at once.top
is older, hence, more tested.This program is distributed as a standard autotools-based package. See the INSTALL file for detailed instructions.
When compiling from a release tarball, run:
./configure && make
For compiling sources downloaded from the Git repository, run:
./autogen.sh && ./configure && make
By default make install
will install into /usr/local
, for changing the path use ./configure --prefix=/some/path
.
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.
GNU General Public License, version 2 (GPL-2.0)