Skip to content

niklaszantner/htop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature mod for htop

This is a modified version of htop, enabling the usage of lm_sensors. Thanks to redeagle for his original gist!

Screenshot

Necessary steps to clone, build and install:

Install lm_sensors for your distribution, e. g. for Arch Linux:

sudo pacman -S lm_sensors

Clone the repo

git clone https://github.com/nobol/htop.git && cd htop

Build it (I modified the configure to reflect the default Arch Linux htop directory, if you don't want this, just remove all the options behind ./configure)

./autogen.sh && ./configure --prefix=/usr --sysconfdir=/etc --enable-unicode --enable-openvz --enable-vserver --enable-cgroup && sudo make install

Run it

htop

You can also find a gist with the patch only: https://gist.github.com/nobol/8eb5a397329cfc8be876ef57a2d2e9a8

ORIGINAL README from hishamshm's htop repo

PayPal donate

by Hisham Muhammad [email protected] (2004 - 2016)

Introduction

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.

Comparison between htop and classic top

  • In htop you can scroll the list vertically and horizontally to see all processes and full command lines.
  • In 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).
  • 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.

Compilation instructions

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.

License

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

About

modified htop with temperature stats by lm_sensors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.9%
  • Lua 3.4%
  • M4 1.9%
  • C++ 1.5%
  • Makefile 0.8%
  • Python 0.4%
  • Other 0.1%