Answer the question
In order to leave comments, you need to log in
Is there a traffic accounting utility for Linux, like in smartphones?
The utility for unix is necessary. The requirements are as follows: Accounting for the used traffic for each process separately for a certain period (day, month), like on smartphones. Interface: command line. Tried vnstat , but it only gives statistics for the entire network interface. nethogs only shows speed, but for each process separately. Maybe I didn't see something in their description or I don't understand something. Can you suggest a utility for such needs?
Answer the question
In order to leave comments, you need to log in
On Android, each application runs under a different user. In this form, traffic can be counted using iptables, logging the status of the counters once a day and more often. A beautiful graph can be obtained in Excel analogues. It is not possible to log application traffic simply because a Linux application can easily change its name.
I used iptraf from the Ubuntu repositories - such a simple utility for console connection.
iperf3 is also a handy simple utility for testing bandwidth between machines (it works fine on different architectures - on RPi, for example).
cacti, zabbix and nagios are cool powerful monitoring systems, they are widely used in the corporate sector.
So icinga is a newer system, not mentioned there.
Of the old people, I can recommend MRTG - it is still used and has not been thrown out of the repositories.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question