Score:0

Monitoring (summarizing) network usage of a single application (process) (Linux)

jp flag

I have a single application that seems to be a network pig (based on a casual glance at its logs - it seems awfully chatty). I'd like to find out what its bandwidth usage is - preferably in the form of a summary timeline, e.g., incoming/outgoing total bytes every minute (alternatively, in a form I can summarize that way myself with other tools).

If it is something that can be done with standard tools like iftop, netstat, etc., I don't know how to arrange that, so instructions (or pointer to instructions) would be appreciated.

Linux (not Ubuntu).

Michael Hampton avatar
cz flag
Not Ubuntu? Should we guess which distribution it is? It might not matter, but there are often surprising and subtle differences.
davidbak avatar
jp flag
Raspian. But I guess it doesn't much matter, really, you're right.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.