You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Options:
-i, --interface The network interface to listen on, eg. eth0
-r, --raw Machine friendlier output
-n, --no-resolve Do not attempt to resolve IPs to their hostnames
-s, --show-dns Show DNS queries
-d, --dns-server <DNS_SERVER> A dns server ip to use instead of the system default --log-to <LOG_TO> Enable logging to a file
-v, --verbose... More output per occurrence
-q, --quiet... Less output per occurrence
-p, --processes Show processes table only
-c, --connections Show connections table only
-a, --addresses Show remote addresses table only
-t, --total-utilization Show total (cumulative) usages
-h, --help Print help
-V, --version Print version
All options have an abbreviation, except for the logging option. Add a shortcut to this option as well: '-l'
2.sudo bandwhich --log-to test
The band itself monitors traffic and displays all the stated metrics successfully in the CLI (the process that loads the network). But something completely different is written into the log file (complete nonsense). cat test
07:07:16 [WARN] Cannot determine which process owns tcp://192.168.43.27:49686.
07:08:02 [WARN] Cannot determine which process owns tcp://192.168.43.27:42410.
07:08:02 [WARN] Cannot determine which process owns tcp://192.168.43.27:42412.
07:08:02 [WARN] Cannot determine which process owns tcp://192.168.43.27:42414.
07:08:02 [WARN] Cannot determine which process owns tcp://192.168.43.27:42416.
07:08:23 [WARN] Cannot determine which process owns tcp://192.168.43.27:40488.
07:08:43 [WARN] Cannot determine which process owns tcp://192.168.43.27:51998.
07:08:47 [WARN] Cannot determine which process owns tcp://192.168.43.27:40486
Fix, "bandwhich" should write to the log what it captures in the CLI. This problem greatly spoils the functionality of the utility and forces you to use other GNU/Linux tools, of which, unfortunately, there are few.
OS used is Debian, bandwhich v0.21.1 (installed from source).
p/s/ Before the bandwhich 0.21.1 version from the source code, I tested the bandwhich 0.21.1 version from Snap. Unfortunately, bandwhich from snap does not display the name of the process that creates network activity (I don’t know who collects the package versions for snap, but bandwhich 0.21.1 from there is not working). This is just a word.
The text was updated successfully, but these errors were encountered:
The --log-to option is meant for debugging use. Normal users shouldn't have to touch it unless they encounter problems. This is why I refrained from giving it a short flag.
I suppose the description is indeed a bit vague; better might be ”enable debug logging to a file". I can change that.
From your description of what you intend to do, I think what you are looking for is the --raw option.
As of the issue you ran into with snap, I assume it is a permission issue. Process resolution on Linux requires direct access to procfs, which the snap may not have been configured to allow. This is something you'd have to ask Ubuntu packagers to fix.
bandwhich --help
All options have an abbreviation, except for the logging option. Add a shortcut to this option as well: '-l'
2.
sudo bandwhich --log-to test
The band itself monitors traffic and displays all the stated metrics successfully in the CLI (the process that loads the network). But something completely different is written into the log file (complete nonsense).
cat test
Fix, "bandwhich" should write to the log what it captures in the CLI. This problem greatly spoils the functionality of the utility and forces you to use other GNU/Linux tools, of which, unfortunately, there are few.
OS used is Debian, bandwhich v0.21.1 (installed from source).
p/s/ Before the bandwhich 0.21.1 version from the source code, I tested the bandwhich 0.21.1 version from Snap. Unfortunately, bandwhich from snap does not display the name of the process that creates network activity (I don’t know who collects the package versions for snap, but bandwhich 0.21.1 from there is not working). This is just a word.
The text was updated successfully, but these errors were encountered: