You can check the process id for specific service by using following command from your command prompt.
root@gunjan[]#pidof service_name
For example we need to check process id for mysql service
root@gunjan[]#pidof mysql
16140
You can check the process id for specific service by using following command from your command prompt.
root@gunjan[]#pidof service_name
For example we need to check process id for mysql service
root@gunjan[]#pidof mysql
16140