-struct process {
- struct process *p_next; /* next in global "proclist" */
- struct process *p_friends; /* next in job list (or self) */
- struct directory *p_cwd; /* cwd of the job (only in head) */
- short unsigned p_flags; /* various job status flags */
- char p_reason; /* reason for entering this state */
- char p_index; /* shorthand job index */
- short p_pid;
- short p_jobid; /* pid of job leader */
- /* if a job is stopped/background p_jobid gives its pgrp */
- time_t p_btime; /* begin time */
- time_t p_etime; /* end time */
- long p_stime; /* system cpu time */
- long p_utime; /* user cpu time */
-#ifdef VMUNIX
- struct vtimes p_vtimes;
-#endif
- char *p_command; /* first PMAXLEN chars of command */
+struct process {
+ struct process *p_next; /* next in global "proclist" */
+ struct process *p_friends; /* next in job list (or self) */
+ struct directory *p_cwd; /* cwd of the job (only in head) */
+ short unsigned p_flags; /* various job status flags */
+ char p_reason; /* reason for entering this state */
+ int p_index; /* shorthand job index */
+ int p_pid;
+ int p_jobid; /* pid of job leader */
+ /* if a job is stopped/background p_jobid gives its pgrp */
+ struct timeval p_btime; /* begin time */
+ struct timeval p_etime; /* end time */
+ struct rusage p_rusage;
+ Char *p_command; /* first PMAXLEN chars of command */