# | Line 139 | Line 139 | typedef enum{ | |
---|---|---|
139 | RUNNING, | |
140 | SLEEPING, | |
141 | STOPPED, | |
142 | < | ZOMBIE |
142 | > | ZOMBIE, |
143 | > | UNKNOWN |
144 | }process_status; | |
145 | ||
146 | typedef struct{ | |
# | Line 157 | Line 158 | typedef struct{ | |
158 | ||
159 | unsigned long long proc_size; /* in bytes */ | |
160 | unsigned long long proc_resident; /* in bytes */ | |
161 | < | time_t time_spent; |
161 | > | time_t time_spent; /* time running in seconds */ |
162 | double cpu_percent; | |
163 | int nice; | |
164 | process_status state; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |