This script is used to filter a sum of memory using a single keyword. It is very good way to sum outside connections to oracle database for exemple. It filters a keyword command from ps output.
For installation: create a file in /usr/local/bin/ (Fedora)
#This script filter and sum memory by a command. You must run like this:
#To avoid seeing the memsum and awk processes listed you should invoke it with:
It can be used in old OSs without installed numfmt.
This on uses numfmt to convert output result. Numfmt from coreutils must be installed to work.