What is Linux pidof Command?
|-s||Single shot - this instructs the program to only return one pid.|
|-x||Scripts too - this causes the program to also return process id's of shells running the named scripts.|
|-o||Tells pidof to omit processes with that process id. The special pid %PPID can be used to name the parent process of the pidof program, in other words the calling shell or shell script.|