linux top 命令

top -uroot -c -n1 | grep redis

-u 显示某个用户的

-c 显示全部的脚本的命令

-n 只滚动一次

原文地址:https://www.cnblogs.com/oftenlin/p/9271963.html