Linux查看所有进程


 description

在linux中查看进程信息,按格式输出

 command

ps -ef

 parameter


ps :  查看进程状态
-A, -e :  所有进程
-f :  全格式,包括命令行

 result

root         2     0  0 Mar11 ?        00:00:03 [kthreadd]
root         3     2  0 Mar11 ?        00:00:00 [rcu_gp]
...

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.