I like iftop and use it a lot. There are LOTS of hotkeys that you can use to reconfigure it on the fly. I usually hit 't' first to get just one line per connection then 'p' to get the ports displayed. You can also toggle DNS resolution and port name resolution which can make it a bit snappier if you don't need those translations. Just hit '?' to get help on the hotkeys and '?' again to get back to the display. You can also apply a filter similar to a tcpdump filter to hone in on certain traffic you want to see. For instance, to watch who's trying to get onto my SSH service you type 'f' to get to the filter definition then 'port 22 ' to set the filter. That way you can watch the dweebs bashing their heads against your hardened SSH service in real time. Oh yeah, and I watch that in a little quadrant of my full-screen Terminator session while I'm doing stuff in the other segments. Very cool!
If would be killer if bmon would let you drill in and see what processes are generating the traffic once you've determined that bandwidth on a NIC is indeed being used.
As already mentioned there's Nagios, and in particular I plan to cover NEMS, a full on OS with Nagios and all the supporting stuff already installed. Also there's Zabbix, and I think you can use Wireshark to watch the whole network, but haven't done that myself.
@@AwesomeOpenSource To watch the whole network, you have to have a tool running at the point where your whole network is aggregated; i.e. on the router connecting to the internet. Switches will prevent a host on one port from hearing traffic intended for hosts on other ports even if the switch is on the back of your 'router'. Essentially you'd need either an SMB router (e.g. pfSense), a router running DD-WRT or OpenWRT, or something you built yourself to get the kind of access needed. Now there's a fun project!
Nice video, although I'm not sure about Terminator. That seems a bit on the heavy side for my tastes. I'm mostly a FreeBSD guy and my setup is usually tmux, bwm-ng, htop and gstat.
A lot of peopel like tmux, which I think is lighter. I liked terminator after losing a really great terminal emulator I loved way back call Terra Terminal. It dropped down from the top of the screen and had the horizontal and vertical splitting. It was great.
The 'tmux' key combinations to manipulate the windows are a bit arcane. It's a great product especially when you want to close a session and pick it up on another desktop machine, but Terminator is easier to use if you don't need the reconnection functionality. Ctrl-Shft-E to split vertically and Ctrl-Shft-O to split horizontally. And it's very configurable, e.g. I don't like the scroll bars or the read headline so they go away which saves a little real estate.
I'm no expert on it, but this post seems to talk about a method that may interest you softwarerecs.stackexchange.com/questions/36676/monitoring-pci-express-bus-usage
You can change the opacity of Terminator so you can't see through it. I like it though as I can see my e-mail client underneath and know if there's something I need to attend to. Terminator is very configurable. You can make it look pretty much any way you'd like with a little work.
did you use the snap command, or the apt command? I tried with apt first, but then realized I needed to use the snap command to install fast. sudo snap install fast If that fails still you might try sudo apt install speedtest-cli -y and see if that installs.
The bad thing about Terminator is that it uses X to display that terminal window. So it you're using SSH to connect to a system and then run Terminator on that system it won't work unless you're running X on the system you're coming from.
If you're coming from Windows and hence don't have an X server, you can use something like MobaXterm to give you that functionality. It can be run as a portable app so you don't need to install it. Just put it somewhere you can launch it from and you're good to go. I used it at work where we were using thin clients to access a Windows desktop that we couldn't install anything to and had very limited ability to run programs that were not in the Standard Operating Environment. Using MobaXterm to create an X enabled SSH tunnel I could then access my home system and run graphical apps as well as get a nice graphical terminal so I had more rows and columns in CLI apps. You could certainly run Terminator over that - or tmux - though I was usually trying to keep my footprint as small as possible to keep everything snappy and so I wouldn't be noticed in the logs and attract unwanted attention. The IT manager granted me considerable leeway as long as I didn't abuse the privilege.
'iftop' comes close but you'd need to run it alongside 'netstat' to resolve the connection back against the process. You could ID the process you're interested in with 'netstat' then apply a filter to 'iftop' to track just that connection.
Someone further down the comments mentioned 'nethogs.' According to the 'apt show' command, it "groups bandwidth by process" and doesn't seem to have a heap of dependencies so it might be what you're looking for. Haven't used it myself but it should be simple to try out and easy to remove if you don't like it.
Can you specify the Question? If you mean to oversee more than one Servers statistics, i can recommend librenms & grafana There is also ntop where Mr. Awesome made a Tutorial. Another helpful Tool but only for Networking purposes: zenmap from Nmap And if you want to control/firewall it aswell theres PFsense, OPNsense & RouterOS/SwitchOS
@@DigitEgal Thank you for your answer but my question hadnt any second level thought or anything. I just mentioned that nload doesnt have much to offer if you have any of the other solutions like bmon and cbm. Like nload is kind of uncessessary . I know about pf and opn sense, I use pfsense already. Thank you again.
For iftop, it calls `pcap_open_live(3)` which requires elevated privileges. If you want anyone to run it without `sudo`, you can put `cap_net_raw+eip` on it with `sudo setcap`.
'ping' will test outgoing packet loss, provided the other end will respond to pings. However, to test for incoming packet loss, and get a better handle on outgoing packet loss, you could use Wireshark and look for [TCP Retransmission] packets. That will tell you when packets are not being ACK'd by the other end. Of course that could just be because there's a firewall that is DROPping the packets. 'netstat -s' will also give you LOTS of statistics including lost packets but only in aggregate.
@@AwesomeOpenSource yup i've done installing it. unfortunately it doesn't working for me with --community tag in conf and it giving me error lua engine script while loading in the websites. had no choice but to yum remove it. i'm currently looking for other if there's any web based. :D
Absolutely awesome demonstration of tools that all network engineers should have in their tools box. Thanks for putting your time into this.
My pleasure. Glad you like it.
Awesome work once again mate! Great looking tool
Thank you, glad you liked it.
This channel is blowing up on this open source resource management software video. Who knew?
Indeed it is, and plan to release part two tomorrow or Wednesday!
Excellent explanation. Love your channel
Thank you. Glad you enjoy it!
I like iftop and use it a lot. There are LOTS of hotkeys that you can use to reconfigure it on the fly. I usually hit 't' first to get just one line per connection then 'p' to get the ports displayed. You can also toggle DNS resolution and port name resolution which can make it a bit snappier if you don't need those translations.
Just hit '?' to get help on the hotkeys and '?' again to get back to the display.
You can also apply a filter similar to a tcpdump filter to hone in on certain traffic you want to see. For instance, to watch who's trying to get onto my SSH service you type 'f' to get to the filter definition then 'port 22 ' to set the filter. That way you can watch the dweebs bashing their heads against your hardened SSH service in real time.
Oh yeah, and I watch that in a little quadrant of my full-screen Terminator session while I'm doing stuff in the other segments. Very cool!
Awesome addition to my video, thank you so much!
Great video thank you!
My pleasure!
Awesome !!! BTW. The command for SUSE is zypper
Thank you for that tip!
Great stuff thanks
Glad you enjoyed it.
thanks, i installed bmon, its a bare windows but i like it
Enjoy it
@@AwesomeOpenSource thanks ...
Very useful video! Just subscribed.
Thank you, glad you liked it.
Nice lecture. Ask about instructing to enlarge the font during your explanation? Thanks
Yes, this video is a bit older, and I've tried to be better about enlarging the font as I've moved forward.
If would be killer if bmon would let you drill in and see what processes are generating the traffic once you've determined that bandwidth on a NIC is indeed being used.
I agree. I love the drill-down abilities in other CLI apps. Maybe we can make a suggestion to the author.
Ty
awsome channel
Thank you.
thanks for another great video. These tools are for an individual system - is there any tools which would do the same for whole network?
Try Nagios
As already mentioned there's Nagios, and in particular I plan to cover NEMS, a full on OS with Nagios and all the supporting stuff already installed. Also there's Zabbix, and I think you can use Wireshark to watch the whole network, but haven't done that myself.
@@AwesomeOpenSource To watch the whole network, you have to have a tool running at the point where your whole network is aggregated; i.e. on the router connecting to the internet. Switches will prevent a host on one port from hearing traffic intended for hosts on other ports even if the switch is on the back of your 'router'.
Essentially you'd need either an SMB router (e.g. pfSense), a router running DD-WRT or OpenWRT, or something you built yourself to get the kind of access needed.
Now there's a fun project!
Nice Nice Nice
👍
Many many thanks
Nice video, although I'm not sure about Terminator. That seems a bit on the heavy side for my tastes. I'm mostly a FreeBSD guy and my setup is usually tmux, bwm-ng, htop and gstat.
A lot of peopel like tmux, which I think is lighter. I liked terminator after losing a really great terminal emulator I loved way back call Terra Terminal. It dropped down from the top of the screen and had the horizontal and vertical splitting. It was great.
The 'tmux' key combinations to manipulate the windows are a bit arcane. It's a great product especially when you want to close a session and pick it up on another desktop machine, but Terminator is easier to use if you don't need the reconnection functionality. Ctrl-Shft-E to split vertically and Ctrl-Shft-O to split horizontally. And it's very configurable, e.g. I don't like the scroll bars or the read headline so they go away which saves a little real estate.
Hello!! You can do splits with Konsole. No need for another terminal emulator.
Good to know. Never noticed the option.
Is there any tool to monitor such like pcie bus or pcie controller bandwidth?
I'm no expert on it, but this post seems to talk about a method that may interest you softwarerecs.stackexchange.com/questions/36676/monitoring-pci-express-bus-usage
awesome video!
+1 sub
Glad you liked it, and thank you so much!
Great content but the transparent terminal in kind of distracting.
Sorry about that, glad you liked the video though.
You can change the opacity of Terminator so you can't see through it. I like it though as I can see my e-mail client underneath and know if there's something I need to attend to.
Terminator is very configurable. You can make it look pretty much any way you'd like with a little work.
Well, i loved the video, but when i install the "fast" the system get the follow error: "E: Unable to locate package fast"
did you use the snap command, or the apt command?
I tried with apt first, but then realized I needed to use the snap command to install fast.
sudo snap install fast
If that fails still you might try
sudo apt install speedtest-cli -y
and see if that installs.
@@AwesomeOpenSource oh well, the second command work, and now all is working.
Sorry for take your time and thank for your help : )
@@byteland_ Anytime, no worries.
@@AwesomeOpenSource thanks. And have a nice weak
The bad thing about Terminator is that it uses X to display that terminal window. So it you're using SSH to connect to a system and then run Terminator on that system it won't work unless you're running X on the system you're coming from.
Never thought of that, but ture.
@@AwesomeOpenSource Is there a way to install FAST using apt?
@@lashlarue59 not that I know of, but you can use
sudo apt install speedtest -cli
tmux
If you're coming from Windows and hence don't have an X server, you can use something like MobaXterm to give you that functionality. It can be run as a portable app so you don't need to install it. Just put it somewhere you can launch it from and you're good to go. I used it at work where we were using thin clients to access a Windows desktop that we couldn't install anything to and had very limited ability to run programs that were not in the Standard Operating Environment.
Using MobaXterm to create an X enabled SSH tunnel I could then access my home system and run graphical apps as well as get a nice graphical terminal so I had more rows and columns in CLI apps.
You could certainly run Terminator over that - or tmux - though I was usually trying to keep my footprint as small as possible to keep everything snappy and so I wouldn't be noticed in the logs and attract unwanted attention. The IT manager granted me considerable leeway as long as I didn't abuse the privilege.
Is there a similar tool that displays bandwidth per process or pid?
'iftop' comes close but you'd need to run it alongside 'netstat' to resolve the connection back against the process. You could ID the process you're interested in with 'netstat' then apply a filter to 'iftop' to track just that connection.
Someone further down the comments mentioned 'nethogs.' According to the 'apt show' command, it "groups bandwidth by process" and doesn't seem to have a heap of dependencies so it might be what you're looking for. Haven't used it myself but it should be simple to try out and easy to remove if you don't like it.
I'll be releasing a video on Nethogs, Speedometer, and ipTraf very soon. Maybe one of those will give you more of the information you are looking for.
Can you do a video on how to send data to centralized db?
Are you talking from one of these tools, or from something specific?
Terminator vs tmux?
Nice! So with bmon you have an aio solution and with cbm you dont actually need nload at all
Can you specify the Question? If you mean to oversee more than one Servers statistics, i can recommend librenms & grafana
There is also ntop where Mr. Awesome made a Tutorial.
Another helpful Tool but only for Networking purposes: zenmap from Nmap
And if you want to control/firewall it aswell theres PFsense, OPNsense & RouterOS/SwitchOS
@@DigitEgal Excellent reponses and suggestions!
@@DigitEgal Thank you for your answer but my question hadnt any second level thought or anything. I just mentioned that nload doesnt have much to offer if you have any of the other solutions like bmon and cbm. Like nload is kind of
uncessessary .
I know about pf and opn sense, I use pfsense already. Thank you again.
@@dimitristsoutsouras2712 Same here :) What are ur most used Packets?
@@DigitEgalmeaning? ...udp or tcp like question?
What gui firewall prompt thing are you using? I need it!
It's called OpenSnitch and here's my video on it ruclips.net/video/_0RRp6N6apo/видео.html. Enjoy!
@@AwesomeOpenSource ty
I like netdata
NetData can show you a ton, but I like tools with a focused pupose as well sometimes.
For iftop, it calls `pcap_open_live(3)` which requires elevated privileges. If you want anyone to run it without `sudo`, you can put `cap_net_raw+eip` on it with `sudo setcap`.
Thanks for the tip. I have learned something new today.
I still default to vnstat
I use so many different tools. I'll take a look at vmstat as well. I have some more I'll be convering soon.
@@AwesomeOpenSource Checkout nethogs as well
@@Kolor-kode Ah yes, already on my list.
Any tools to test packet loss?
Seems like I saw one or two recently, but I'll have to go back and see what I find.
'ping' will test outgoing packet loss, provided the other end will respond to pings.
However, to test for incoming packet loss, and get a better handle on outgoing packet loss, you could use Wireshark and look for [TCP Retransmission] packets. That will tell you when packets are not being ACK'd by the other end. Of course that could just be because there's a firewall that is DROPping the packets.
'netstat -s' will also give you LOTS of statistics including lost packets but only in aggregate.
Why not tmux?
TMux is a great tool, I just like Terminator.
i can't 'sudo snap install fast' anyone can help?
What version of linux are you on?
`man terminator` and you will learn about Ctrl+Shift+X
Thank you for the tip. I need to refresh myself for certain.
what about web based?
Like a browser based frontend?
@@AwesomeOpenSource yes it is. :)
@@unknown-sc6if let me see if I can find something. Best I can think of is NTop-NG. Have a video on that a couple of months back.
@@AwesomeOpenSource yup i've done installing it. unfortunately it doesn't working for me with --community tag in conf and it giving me error lua engine script while loading in the websites. had no choice but to yum remove it. i'm currently looking for other if there's any web based. :D
@@unknown-sc6if I'll keep looking and let you know what I find.
LOL anyone who uses Terminator should not be making tutorials.
Don't hate on the Terminator... it does what it needs to do, and it does it perfectly well.
openSUSE it's zypper.
thanks, I did indeed eventually learn this.