ps returns only the state code of a process








ps -o state -p <pid>






No comments:

Post a Comment