使用过多 CPU 查找进程的命令 [英] Command for finding process using too much CPU
本文介绍了使用过多 CPU 查找进程的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以使用什么命令来查找占用大量 CPU 的进程?我可以在不安装新东西的情况下执行此操作吗?
What command can I use to find a process that's using a lot of CPU? Can I do this without installing something new?
推荐答案
或者使用其他一些你可以做的工具:
Or using a few other utils you could do:
ps aux | sort -rk 3,3 | head -n 5
改变head的值,得到你想看到的进程数.
Change the value of head to get the number of processes you want to see.
这篇关于使用过多 CPU 查找进程的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文