自学内容网 自学内容网

top以及htop任务监管

1,top不用说,其实际意义查看:
本人用的最多的是-c,看细致的所有人跑的命令是什么
以及-u指定用户
参考:https://linuxtools-rst.readthedocs.io/zh-cn/latest/tool/top.html
https://www.runoob.com/linux/linux-comm-top.html
2,htop
其实可以使用conda search+install
参考https://developer.aliyun.com/article/858285,最主要的是
服务器只有4核心8线程
主要是可以用来查看cpu占用率:
起因是本来数据就大,但是服务器配置比较弱,然后抛弃任务来却是cpu占用率连1%都不到,一时不知道到底是shell脚本写错了还是服务器被cpu limit了
在这里插入图片描述在这里插入图片描述


原文地址:https://blog.csdn.net/weixin_62528784/article/details/142768997

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!