Centos系统使用记录

1、安装htop(ubuntu下:sudo apt-get install htop即可)

    直接安装:

    # yum -y install epel-release
    # yum -y update
    # yum -y install htop


    源码安装:

安裝编译htop所需的編譯器:
# yum groupinstall “Development Tools”
# yum install ncurses-devel
下載及編譯安裝 Htop:
# cd /usr/local/src
# wget http://hisham.hm/htop/releases/1.0.3/htop-1.0.3.tar.gz
# tar -xvf htop-1.0.3.tar.gz
# cd htop-1.0.3
# ./configure
# make && make install

你可能感兴趣的:(学习点滴,linux,centos)