python - How to get process status using pid? -
if known process's pid, how can tell if process zombie using python ?
you use status
feature psutils:
import psutil p = psutil.process(the_pid_you_want) if p.status == psutil.status_zombie: ....
Comments
Post a Comment