此软件基于node,所以要先安装node。
1.Debian/Ubuntu安装 node:
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
2.安装gtop
npm install gtop -g
gtop
要停止 gtop 使用 q
,或者 ctrl+c
(在大多数 shell 环境中)
您可以按
p
: 进程 IDc
: CPU使用率m
: 内存使用情况如果您看到问号或其他不同的字符,请尝试使用以下环境变量运行它:
$ LANG=en_US.utf8 TERM=xterm-256color gtop
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有