bpytop icon indicating copy to clipboard operation
bpytop copied to clipboard

[REQUEST] Be able to see network actvitiy per process

Open thibaultmol opened this issue 4 years ago • 4 comments

In the processor part of bpytop, it would be nice if one of the columns you could switch between (like cpu lazy, memory, etc..) to also include network activity. So you can sort the processes by network bandwidth

thibaultmol avatar Jan 04 '21 11:01 thibaultmol

@thibaultmol Sorry, that is currently not possible. You can see the available functions for processes at https://psutil.readthedocs.io/en/latest/#process-class

You could open a request at https://github.com/giampaolo/psutil and if it's implemented in psutil it would be possible when I've finished #197, since the aim is to have a customizable process list with all the stats from psutil's process class to choose from.

aristocratos avatar Jan 04 '21 12:01 aristocratos

Ah I see, I've created an issue there. https://github.com/giampaolo/psutil/issues/1900

thibaultmol avatar Jan 05 '21 06:01 thibaultmol

@thibaultmol Thank you for sponsoring btw :)

aristocratos avatar Jan 05 '21 10:01 aristocratos

hey @aristocratos, I think It's possible now..

May this little script help. Thanks for your great work

bandwidth.zip

ShazibRahman avatar Aug 26 '23 16:08 ShazibRahman