Below is the script to find the os server process id of a SID.

SEE ALSO – Get sid from ospid