htop
筆者運行環境爲cetos,安裝:
2、解壓縮:tar -zxvf htop-2.0.2.tar.gz;
3、進入目標文件夾: cd htop-2.0.2
4、./configure
5、系統若出現以下提示,則需要安裝c編譯環境
configure: error: no acceptable C compiler found in $PATH
安裝c編譯環境:yum -y install gcc
6、裝完c編譯環境後再進行./configure,若出現如下提示,則需要安裝依賴包
configure: error: You may want to use --disable-unicode or install libncursesw.
yum install -y ncurses-devel
設置: