Htop安裝使用

Htop是個好東西

htop安裝
htop官網源碼下載
http://sourceforge.net/projects/htop/
http://blog.chinaunix.net/attachment/attach/51/07/43/4351074313b2f6b27f0272261006d2e8ae8466fb.zip
# mkdir /htop
# tar -zxvf htop-0.8.3.tar.gz
# ./configure
# make
# make install

鼠標點擊HELP顯示自帶幫助:
常用的命令:
/ : 搜索名,比如搜索ssh
t : 顯示樹形結構
u : 顯示某個用戶的進程,在左側選擇用戶
h : 顯示幫助
H : 顯示/隱藏用戶線程
K : 顯示/隱藏內核線程

Shortcut Key Function Key Description
h F1 Invoke htop Help
S F2 Htop Setup Menu
/ F3 Search for a Process
I F4 Invert Sort Order
t F5 Tree View
> F6 Sort by a column
[ F7 Nice - (change priority)
] F8 Nice (change priority)
k F9 Kill a Process
q F10 Quit htop


Installing htop from source

Download the htop source from : http://sourceforge.net/projects/htop/
cd /usr/src/
wget http://downloads.sourceforge.net/project/htop/htop/0.8.3/htop-0.8.3.tar.gz?r=http://sourceforge.net/projects/htop/&ts=1283665168&use_mirror=cdnetworks-kr-2
tar zxvf htop-0.8.3.tar.gz
cd htop-0.8.3
./configure
If you are getting the following error message make sure that you have the ncurses-devel package installed (yum install ncurses-devel)
configure: error: missing headers: curses.h
make all
make install
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章