ps [ acdefjl ] [ g grplist ] [ p proclist ]
[ s sidlist ] [ t term ] [ u uidlist ]
prints information about active processes. Without options,
prints information about processes associated with the controlling terminal. The output contains only the process ID, terminal identifier, cumulative execution time, and the command
. Otherwise, the information that is displayed is controlled by the options. The
options are not the same for AT&T and Berkeley type versions of UNIX.
1 ps -aux grep '^linda'
2 ps -ef grep '^ *linda'
Prints all processes running and pipes the output to the
program, and printing only those processes owned by
is at the beginning of each line. (UCB version)
Same as the first example, only the AT&T version.