I want to have a whole list of all the processes with their memory usage.
I want to sum up the memory usage of similar processes (i.e. processes with the same name or the same father process)
How can I do that, e.g. with command line tools?
There are many commandline tools
View respective man pages. i.e. man ps