fixed ps
This commit is contained in:
parent
34fbb11114
commit
b1ab591e39
5 changed files with 41 additions and 68 deletions
|
@ -10,6 +10,7 @@ struct mu_proc {
|
|||
char prog[PATH_MAX + 1];
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
long vmrss;
|
||||
|
||||
/* from stat */
|
||||
pid_t pid;
|
||||
|
@ -36,7 +37,6 @@ struct mu_proc {
|
|||
unsigned long long starttime;
|
||||
unsigned long vsize;
|
||||
long rss;
|
||||
long rsslim;
|
||||
};
|
||||
|
||||
int mu_proc_status(const char *prog_name, const pid_t pid, struct mu_proc *proc_s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue