proc_state SONPROC == R
This commit is contained in:
parent
a941cdc3ba
commit
4344a1457a
|
@ -1218,6 +1218,9 @@ int sigar_proc_state_get(sigar_t *sigar, sigar_pid_t pid,
|
|||
procstate->state = 'D';
|
||||
break;
|
||||
case SRUN:
|
||||
#ifdef SONPROC
|
||||
case SONPROC:
|
||||
#endif
|
||||
procstate->state = 'R';
|
||||
break;
|
||||
case SSLEEP:
|
||||
|
@ -1229,6 +1232,9 @@ int sigar_proc_state_get(sigar_t *sigar, sigar_pid_t pid,
|
|||
case SZOMB:
|
||||
procstate->state = 'Z';
|
||||
break;
|
||||
default:
|
||||
procstate->state = '?';
|
||||
break;
|
||||
}
|
||||
|
||||
return SIGAR_OK;
|
||||
|
|
Loading…
Reference in New Issue