Answer the question
In order to leave comments, you need to log in
How to see how much memory a program consumes in linux?
Tell me, is it possible to find out using one command how much memory the program consumes with all its threads. It's not entirely clear to me how to find out.
For example, I'm looking in btop - filtered by firefox. But there are a lot of threads. Is there some kind of tool that will tell you what kind of consumption in general
Answer the question
In order to leave comments, you need to log in
smem --processfilter="[f]irefox" -t
--processfilter="[f]irefox" - will filter the necessary processes
-t - will display the sum of the filtered
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question