提前体验htop

简介

6天前htop3.0发布了,增加了很多的新功能,但是各个发行版的软件源可能还没有提供,所以我们就用源码编译一下,提前体验htop 3.0

编译

首先下载源码

wget https://github.com/htop-dev/htop/archive/3.0.0.zip

解压

unzip 3.0.0.zip

cd htop-3.0.0/

安装依赖

sudo apt install autoconf libncursesw5-dev

编译

./autogen.sh && ./configure && make -j 8

下面是更新说明

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
What's new in version 3.0.0

* New maintainers - after a prolonged period of inactivity
  from Hisham, the creator and original maintainer, a team
  of community maintainers have volunteered to take over a
  fork at https://htop.dev and https://github.com/htop-dev
  to keep the project going.

* Support ZFS ARC statistics
  (thanks to Ross Williams)
* Support more than 2 smaller CPU meter columns
  (thanks to Christoph Budziszewski)
* Support Linux proportional set size metrics
  (thanks to @linvinus, @ntninja and @himikof)
* Support Linux pressure stall information metrics
  (thanks to Ran Benita)
* New display option to show CPU frequency in CPU meters
  (thanks to Arnav Singh)
* Update Linux sysfs battery discovery for recent kernels
  (thanks to @smattie)
* Add hardware topology information in the affinity panel
  (thanks to Bert Wesarg)
* Add timestamp reporting to the strace screen
  (thanks to Mario Harjac)
* Add simple, optional vim key mapping mode
  (thanks to Daniel Flanagan)
* Added an option to disable the mouse
  (thanks to MartinJM)
* Add Solaris11 compatibility
  (thanks to Jan Senolt)
* Without an argument -u uses $USER value automatically
  (thanks to @solanav)
* Support less(1) search navigation shortcuts
  (thanks to @syrrim)
* Update the FreeBSD maximum PID to match FreeBSD change
  (thanks to @multiplexd)
* Report values larger than 100 terabytes
  (thanks to @adrien1018)
* Widen ST_UID (UID) column to allow for UIDs > 9999
  (thanks to DLange)
* BUGFIX: fix makefiles for building with clang
  (thanks to Jorge Pereira)
* BUGFIX: fix <sys/sysmacros.h> major() usage
  (thanks to @wataash and Kang-Che Sung)
* BUGFIX: fix the STARTTIME column on FreeBSD
  (thanks to Rob Crowston)
* BUGFIX: truncate overwide jail names on FreeBSD
  (thanks to Rob Crowston)
* BUGFIX: fix reported memory values on FreeBSD
  (thanks to Tobias Kortkamp)
* BUGFIX: fix reported CPU meter values on OpenBSD
  (thanks to @motet-a)
* BUGFIX: correctly identify other types of zombie process
  (thanks to @joder)
* BUGFIX: improve follow-process handling in some situations
  (thanks to @wangqr)
* BUGFIX: fix custom meters reverting to unexpected setting
  (thanks to @wangqr)
* BUGFIX: close pipe after running lsof(1)
  (thanks to Jesin)
* BUGFIX: meters honour setting of counting CPUs from 0/1
  (thanks to @rnsanchez)

没有特别大的功能上的更新,个人还是很失望的

欢迎关注我的博客 www.bboy.app

Have Fun