volkov-am 7cfaa9dede MakeHeader.py: Fix for non-utf8 environments (#770)
Header creation fails with non-utf8 locale and python3.
Simply set LC_ALL="C" and use python3 to reproduce the issue.

env LC_ALL="C" ./scripts/MakeHeader.py MetersPanel.c
Traceback (most recent call last):
  File "./scripts/MakeHeader.py", line 32, in <module>
    for line in file.readlines():
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128)

This changes is python2 and python3 compatible

cStringIO.StringIO module is removed because it is not able to accept unicode strings
https://docs.python.org/2/library/stringio.html#cStringIO.StringIO
2018-04-05 19:55:51 -03:00
2018-03-26 15:14:12 -03:00
2017-07-22 22:34:30 -05:00
2016-05-05 10:30:06 -03:00
2016-02-14 19:57:29 -02:00
2016-02-14 19:57:29 -02:00
2015-01-21 23:27:31 -02:00
2006-03-04 18:16:49 +00:00
2016-02-14 22:36:40 +01:00
2017-07-22 22:34:30 -05:00
2015-01-21 23:27:31 -02:00
2018-02-26 10:54:01 -03:00
2015-01-21 23:27:31 -02:00
2018-02-26 11:45:53 -03:00
2018-02-05 07:20:27 +01:00
2018-02-05 07:20:27 +01:00
2017-07-22 22:34:30 -05:00
2017-07-22 22:34:30 -05:00
2016-02-02 15:53:02 +01:00
2011-12-26 21:35:57 +00:00
2016-05-07 14:57:51 +08:00
2018-02-04 17:01:39 +01:00
2018-04-05 19:52:19 -03:00
2015-01-21 23:27:31 -02:00
2014-04-09 14:47:58 -03:00
2017-07-22 22:34:30 -05:00
2016-05-05 10:30:06 -03:00
2016-05-08 14:35:20 +08:00
2015-01-21 23:27:31 -02:00
2018-02-18 10:17:56 -03:00
2011-11-21 02:58:34 +00:00
2016-02-02 15:53:02 +01:00
2016-02-02 15:53:02 +01:00
2016-02-14 19:57:29 -02:00
2014-02-03 09:11:39 -02:00
2015-03-23 15:26:56 -03:00
2016-08-11 10:49:35 +08:00
2015-08-27 06:13:27 +02:00
2016-08-30 12:37:31 -03:00
2015-04-09 15:56:43 -03:00
2018-03-25 15:14:04 -03:00
2016-02-02 15:53:02 +01:00
2011-12-26 21:35:57 +00:00

Build Status PayPal donate

htop

by Hisham Muhammad hisham@gobolinux.org (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)

Description
htop - an interactive process viewer
Readme 6 MiB
Languages
C 93%
Roff 2.3%
M4 2.3%
Lua 1.5%
Makefile 0.8%