[root@iz2ze5w0d1f4lqljfb9ld0z ~]# ps -ef | grep redis
hidoogit 12745 11480 0 15:01 ? 00:00:01 ./redis-server *:6379
root 15417 15391 0 15:23 pts/6 00:00:00 grep --color=auto redis
UID | PID | PPID | C | STIME | TTY | TIME | CMD |
拥有者 | 程序id | 父级id | CPU | 系统启动时间 | 终端位置 | 使用的时间 | 指令 |
hidoogit | 12745 | 11480 | 0 | 15:01 | ? | 00:00:01 | ./redis-server *:6379 |
root | 15417 | 15391 | 0 | 15:23 | pts/6 | 00:00:00 | grep --color=auto redis |
本文以redis为例