ps #
ps (1) - report a snapshot of the current processes.
Print all process information with BSD syntax:
ps aux
Print process information for all processes in full format:
ps -ef
Print process information for all processes in extra full format, long format:
ps -eFl
Format ps
output:
ps -o comm,pid,ppid,user
Print processes matching a specific command name:
ps -C sshd
List all processes owned by a specific user:
ps -U user1
List all processes owned by a specific group:
ps -G group1