proc_state SONPROC == R

This commit is contained in:
Doug MacEachern 2008-02-19 06:16:43 +00:00
parent a941cdc3ba
commit 4344a1457a
1 changed files with 6 additions and 0 deletions

View File

@ -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;