运维笔记--Linux下酷炫性能监控工具

Linux下 性能监控工具:https://github.com/brndnmtthws/conky

参考https://www.codenong.com/cs109633367/

效果--如下图右侧:会实时输出服务器CPU、内存、网络情况、进程、磁盘IO等资源使用情况。

附:同款桌面壁纸,点击下载:壁纸-01壁纸-02

操作步骤:

按照上边参考地址操作。
test@hm-jesson:~/Desktop$ sudo conky -c ~/.config/conky/.conkyrc cat: /home/edward/myip.txt: No such file or directory cat: /home/edward/myip.txt: No such file or directory cat: /home/edward/myip.txt: No such file or directory cat: /home/edward/myip.txt: No such file or directory cat: /home/edward/myip.txt: No such file or directory cat: /home/edward/myip.txt: No such file or directory 修改配置文件第65行,改成自己实际的目录: ${font Entopia:bold:size=12}${color green}NETWORK ${hr 2}${font} ${offset 15}${color FFFDE2}Ext IP Addr ${color 33E9FF}${alignr}${exec cat /home/edward/myip.txt} ${offset 15}${color FFFDE2}GateWay:${color 33E9FF}${alignr}${gw_ip} ${offset 5}${font Entopia:bold:size=12}${color orange}LAN ${stippled_hr 1} sudo vi ~/.config/conky/.conkyrc {exec cat /home/test/myip.txt} ---重新运行:sudo conky -c ~/.config/conky/.conkyrc ---还是报错: cat: /home/test/myip.txt: No such file or directory cat: /home/test/myip.txt: No such file or directory cat: /home/test/myip.txt: No such file or directory ^Cconky: received SIGINT or SIGTERM to terminate. bye! ---手动创建文件: /home/test/myip.txt test@hm-jesson:~/Desktop$ sudo touch /home/test/myip.txt ---再次执行启动:--后台运行
nohup conky -c ~/.config/conky/.conkyrc &

---日志输出 nohup: ignoring input and appending output to
'nohup.out'

 

posted @ 2023-03-09 13:53  hello-Jesson  阅读(97)  评论(0编辑  收藏  举报