查看linux资源

1.查看内存占用最高的几个进程

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head

或者直接top查看

posted @ 2024-06-12 08:52  潇潇暮鱼鱼  阅读(15)  评论(0)    收藏  举报