ITeye博客

linux 下取进程占用 cpu/内存 最高的前10个进程

lvjun106 · 2015-12-15 13:28 · LINUX · 操作系统 · Markdown

# linux 下 取进程占用 cpu 最高的前10个进程
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head

# linux 下 取进程占用内存(MEM)最高的前10个进程
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。