pidof

Find the process ID of a running program.
$ pidof fetchmail

22392