一个比htop更加漂亮美观的命令,但是并没有集成到epel源里面,需要使用npm 命令进行安装
gtop
安装需要我们使用node环境,下面我们先安装node环境
参考Node.js 在 Ubuntu 18.04 /CentOS 7 安装
sudo apt-get install -y build-essential
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install -y npm
安装gtop
npm install gtop -g
使用gtop
gtop
效果