Friday, February 12, 2010

Find the pid of process by its program/executable file name

$ ps aux | grep {program-name}
$ ps -C {program-name} -o pid=
$ pgrep  {program-name}
$ pidof {program-name}

No comments:

Blog Archive