This commit is contained in:
Your Name 2024-07-10 16:59:36 +03:00
parent 34fbb11114
commit b1ab591e39
5 changed files with 41 additions and 68 deletions

View file

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