Main Menu

Search

LINUX: "ps" Command To List All Non Root User PID's / Processes (How To Doc)

Below "ps" Command can be used to list all non root user PID's and processes.
ps --ppid 2 -p 2 --deselect

Below is example output of above command.

# ps --ppid 2 -p 2 --deselect
  PID TTY          TIME CMD
    1 ?        00:00:33 init
  594 ?        00:00:04 udevd
  602 ?        00:00:00 server_httpd
  603 ?        00:00:00 server_httpd
 1616 ?        00:00:00 ora_w008_elctrl
 1652 ?        00:00:00 ora_w007_elctrl
 2019 tty1     00:00:00 mingetty


Products to which Article Applies

All Linux Operating Systems



tarun boyella


No comments:

Post a Comment