int(-1..2) status()
Returns the status of the process:
Unknown
Running
Stopped
Exited
Prior to Pike 7.5 the value 1 was returned for exited processes.