If you want to know if a process is still running OK (or likewise close a ssh connection) then a PID is not the way to do it, the control socket will do the job.
[Edit: the man page could be a bit more helpful, it's one thing having the tools, but the tools and the techniques and skills is actually what is needed.]
Last edited by gso; 14th September 2015 at 05:37 PM.
|