Pádraig Brady
Pádraig Brady
You should be able to mount /proc and need it available
Re getting totals for further processing, does the filtering + --total option handle your use case? I.E. would this work for you? `ps_mem -t -p $(pidof nm-applet)`
This looks useful thanks. I presume this is to ease further processing. Perhaps it would be useful to swap the name and size, so that size is first (just like...
Please split these into separate commits. The description of --group-args suggests it's very similar to --split-args. Are they not essentially the same thing? I see the initial command name might...
There was work recently on the --total option. I might use that to output the total mem usage in bytes on the left for each command, and a total as...
Note this will mess up alignment Also aligment may change over time Note the --total output is unformatted and so useful for processing/monitoring Can you describe your use case in...
Note the --total option outputs a single number unformatted, and is meant for automated tools. Is it practical to do other automated processing on the output?
ps_mem is designed to support operations like this using existing programs. For example: watch -n1 'sudo ./ps_mem.py -p $(pgrep -d, chrome)'
That sounds useful. It might also be useful for debugging
looks good. I might adjust the exception handling a bit as a blanket except: is generally wrong. Anyway I'll apply soon in your name. thanks!