Open wwood opened 3 years ago
It reports whatever ps
reports for the process in question.
So, the answer is "no" then. Pity.
Ben WoodcroftMicrobial informatics group leader (+617) 3443 7334 Centre for Microbiome Research, Level 3, Translational Research Institute, School of Biomedical Sciences, Faculty of Health, Queensland University of Technology
On May 26 2021, at 3:55 pm, Jeet Sukumaran @.***> wrote:
It reports whatever ps reports for the process in question. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/jeetsukumaran/Syrupy/issues/20#issuecomment-848481893), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAADX5H7PBVAFGGITV63S3DTPSENDANCNFSM45RATCOQ).
I'd be happy to accept a PR that modified Syrupy to filter processes by PPID, but otherwise, yes.
just made this with psutil: print the cumulated cpu + memory usage of a process tree
example output:
load mem proc @ 2022-06-23 20:41:10 +0200
3.1 1 nix-daemon
3.1 1 nix-daemon
3.1 0 bash
3.1 0 bash
3.1 0 stress-ng
1.0 0 stress-ng
1.0 0 stress-ng
1.0 0 stress-ng
(load 1.0 = 100% cpu usage)
similar to
I couldn't see this mentioned in the README.
Thanks.