Hacker News new | ask | show | jobs
by psibi 2367 days ago
How is that musl based binary built ? I saw the repositories travis configuration and wasn't able to find anything relevant.
1 comments

The simplest way is to pass the —target flag with the musl target; that should work unless you’re also including C code, and then it may Just Work or may need you to do something special.
I've been using `nethogs` for this for a long time, and it is already in most Linux repos and can be installed quickly.

https://github.com/raboof/nethogs

Not at my computer atm, but nethogs won't list the process name/PID, will it?
Yes it does. That's the whole point