# ps命令

ps命令

ps aux|grep **

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1 120152  9820 ?        Ss   Sep29   0:04 /usr/lib/systemd/systemd
root         2  0.0  0.0      0     0 ?        S    Sep29   0:00 [kthreadd]
...

ps -ef|grep **

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Sep29 ?        00:04:13 /usr/lib/systemd/systemd
root         2     0  0 Sep29 ?        00:00:00 [kthreadd]
...

你可能感兴趣的:(linux,运维,服务器)