htop
htop copied to clipboard
feature wish: show network bandwidth usage per process
Could you add a column for the above ?
For examples see nethogs(8): https://github.com/raboof/nethogs
Thanks !
Looking at that implementation this looks like it might conflict with the current model of execution within htop
as libnethogs
seems to implement its own event loop. Thus I basically see two ways forward on this:
- Reimplement the
libnethogs
logic inhtop
- Patch upstream
libnethogs
to allow for its event loop to be nested similar to e.g.libcurl
.
For reference ( in case it helps / provides ideas somehow), there's also nettop (it doesn't provide it's own library like nethogs, however, i've personally found it to be more reliable).
This would be so nice. I often find myself wanting to monitor CPU+RAM+Network(+Disk) simultaneously and ideally all in one view.
Hi. I am interested in this feature too. I would like to take it up.
While you work on a patch, please keep in mind to allow this feature to work across platforms, even if you are only implementing it for a few. Ideally, at least two platforms should be covered.
While you work on a patch, please keep in mind to allow this feature to work across platforms, even if you are only implementing it for a few. Ideally, at least two platforms should be covered.
Sure thing!