I need to get the PID of a program from a bash script.
The Script will be something like as follows
# I need the pid of process created by the PHP Script that follows.
php --this-option --that-option --another-option --etc
I think this is easy. If not, I've no problem in bumping the points.