Hacker News new | ask | show | jobs
by steveklabnik 2363 days ago
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.
1 comments

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