I've searched a lot but I can't find a way to show nethogs in conky. nethogs prints to terminal and there seems to be no way to capture output in real time. This is one thing I have been wanting for conky FOR AGES.
I don't think so.
nethogs is an interactive process using the ncurses library. It expects to launch in a terminal window and get input from the user.
Conky can run programs using the exec/execi/execp/execpi directives, but these are supposed to be "run once" programs which output text then exit. Conky takes that text and displays it.
Try writing to the nethogs developer and see if he'll add "batched" mode, like the batched mode of the
I've tried to do the same with conky on Ubuntu 12.10. But then i had a better idea:
When the configuration file
Now we need a startup bash script which you can add to your autostart just like devilspie. Something like this:
You must pass an argument to the script to specify the target device. Notice that there is a