You are not logged in.
I am probably missing something obvious, but I am looking for a command that will display current network speed usage. Conky has a useful built in for this, but I can't seem to find it's equivalant in command form. Any help would be appreciated!
Last edited by barefly (2016-01-28 17:38:40)
Offline
sudo iftop
Arch is home!
https://github.com/Docbroke
Offline
sudo iftop
This is a bit more than I was looking for, and I'd prefer not to have to run this as sudo each time. The output I am looking for is more akin to a snapshot of current usage.
Offline
cat /proc/net/wireless
or similar depending on your connection type
EDIT: ignore above, it doesn't give up and down speed,
If only problem is 'sudo' you can try this
sudo chmod u+x /usr/bin/iftop
after that iftop will work without sudo
Last edited by Docbroke (2016-01-28 16:39:18)
Arch is home!
https://github.com/Docbroke
Offline
Moving to networking.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Ok I think I figured it out now. /proc/net/wireless didn't exactly give me up and dowload speeds, but /proc/net/dev did give me exactly what I was looking for. Thanks!
EDIT: Ok scratch that /proc/net/dev only gives me total up and down, not current. I'll keep looking around and see if I figure something out that works.
Last edited by barefly (2016-01-28 17:12:05)
Offline
Please remember to mark your thread as solved.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Install vnstat and run 'vnstat -l'. Works for my wired connection:
$ vnstat -l
Monitoring enp0s25... (press CTRL-C to stop)
rx: 38 kbit/s 13 p/s tx: 20 kbit/s 15 p/s
Offline
Took me a bit to get vnstat properly configured, but this may be the ideal solution to what im looking for. Thanks!
Offline
Check out nethogs. It breaks down network usage by process, making it easy to spot unexpected... net... hogs.
Offline