Hi,
I was wondering if you could help me out but I'm using your script but the generate pid always seems to get 2 number below the real process id of the running node app.
i.e. the reported pid is 20195 but when I tried to do a ps -aux | grep node, i could see the pid is actually 20197.
Do you know what might be going wrong