gpustat icon indicating copy to clipboard operation
gpustat copied to clipboard

Filter processes by memory/GPU usage

Open Rizhiy opened this issue 6 years ago • 1 comments

I work on Machine Learning and use this utility to monitor how much my GPUs are being used. I frequently have one or two main processes and dozens of smaller ones. Smaller ones only use 500MB of memory total, but take up most of the space on the screen.

Is it possible to add a filter which will prevent processes which use small amounts of memory from being displayed?

Rizhiy avatar Nov 17 '17 15:11 Rizhiy

Rather than manually setting a threshold, I think we may sort the memory usages of all the processes and print the top-K processes (probably with an entry others summed up the rest).

Stonesjtu avatar Nov 17 '17 23:11 Stonesjtu