pidof is a Linux command that gives you the process id(s) corresponding to a given executable name.
man pidof ps
Category: Linux Commands