gpustat
gpustat copied to clipboard
Filter processes by memory/GPU usage
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?
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).