ps_mem
ps_mem copied to clipboard
A utility to accurately report the in core memory usage for a program
Fedora 35 - x86_64 - kernel-5.15.2-200 - firefox-94, ps_men is latest git code: 3759690 ``` # ps_mem.py Private + Shared = RAM used Program 204.0 KiB + 22.5 KiB =...
right now if i try to run ps_mem.py i get: ``` ./ps_mem.py Traceback (most recent call last): File "./ps_mem.py", line 120, in open return open(self.path(*args), errors='ignore') FileNotFoundError: [Errno 2] No...
I was trying to use ps_mem inside a glances container to write logs in response to alerts. The glances docker container that I ran ps_mem inside of has full access...
Hi all. I'm using Linux, however don't know well about shared memory and shared library concept. I'd like to use ps_mem to calculate and analyze my application's memory usage but...
To reproduce `sudo $(which ipython)` ``` import ps_mem ps_mem.main() ``` prints to STDOUT the table, but says about STDOUT: > Error in sys.excepthook: > > Original exception was: **Using** Kubuntu...
This PR adds a `--no-humanize` flag to allow writing the ps_mem output in an easily machine parsable form (e.g. useful for later graphing the data in matplotlib). Also I believe...
This pull request add a -u option to allow setting one unit size to like df -k. **usage:** ```console $ sudo ./ps_mem.py -u k Private + Shared = RAM used...
Please add command line argument to ps_mem that sort result by specific column, for example by swap usage.
It's very hard to parse the output, because we need to differentiate KiB and GiB, convert them to use in automation, monitoring tools etc. Can we please have an option...