{"id":1399,"date":"2009-09-17T11:17:49","date_gmt":"2009-09-17T15:17:49","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/?p=1399"},"modified":"2009-09-17T11:17:49","modified_gmt":"2009-09-17T15:17:49","slug":"reference-linux-networkbandwidth-monitoring-cli-tools","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/reference-linux-networkbandwidth-monitoring-cli-tools\/","title":{"rendered":"Reference: Linux Network\/Bandwidth Monitoring CLI Tools"},"content":{"rendered":"<p>I often want to see how much bandwidth is consumed by my network interfaces and how this is happening. There&#8217;s plenty of tools available in the linux world to monitor your network activity.<\/p>\n<p>If you&#8217;re a Ubuntu or Debian user you can try the ones I use by installing the following packages.<\/p>\n<pre>\nsudo apt-get install <strong>iptraf ethstatus dstat iftop ifstat nload bwm-ng<\/strong>\n<\/pre>\n<p>Then try each one of those on your command line and have fun exploring what they can do.<\/p>\n<p>If they&#8217;re not on the path of your user account, then try them using sudo.<br \/>\neg. <strong>sudo iftop<\/strong><\/p>\n<p>If this short list of the tools I use does not satisfy you, I suggest you <a href=\"http:\/\/www.ubuntugeek.com\/bandwidth-monitoring-tools-for-linux.html\">read this more comprehensive list of monitoring tools<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I often want to see how much bandwidth is consumed by my network interfaces and how this is happening. There&#8217;s plenty of tools available in the linux world to monitor your network activity. If you&#8217;re a Ubuntu or Debian user you can try the ones I use by installing the following packages. sudo apt-get install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[30,43],"tags":[175,565,1449,683,703,959,969,1029],"class_list":["post-1399","post","type-post","status-publish","format-standard","hentry","category-geeklife","category-linux","tag-bandwidth","tag-ip","tag-linux","tag-monitoring","tag-networking","tag-sysadmin","tag-tcp","tag-udp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-mz","jetpack-related-posts":[{"id":824,"url":"https:\/\/www.gubatron.com\/blog\/checking-the-speed-of-your-network-interface\/","url_meta":{"origin":1399,"position":0},"title":"Checking the Speed of your network interface","author":"gubatron","date":"June 26, 2008","format":false,"excerpt":"I recently requested an upgrade on one of our dedicated server's uplink speed, we only had a 10Mbps Uplink, we requested an upgrade to 100Mbps to serve a lot more. How do you verify the upgrade has been done correctly? As root, issue the following comand: # mii-tool eth0: negotiated\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2081,"url":"https:\/\/www.gubatron.com\/blog\/ubuntu-wicd-network-manager-connection-failed-bad-password-issue-solved\/","url_meta":{"origin":1399,"position":1},"title":"Ubuntu: WiCD Network Manager &#8220;Connection Failed: Bad Password&#8221; [SOLVED]","author":"gubatron","date":"October 29, 2010","format":false,"excerpt":"If you're familiar with correctly entering your WPA2 password after an Ubuntu update and now your Netbook won't connect using WiCD, I got the solution that worked for me. Uninstall network-manager and restart WiCD Open a terminal and type: [shell] $ sudo apt-get remove network-manager ... $ sudo \/etc\/init.d\/wicd restart\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.gubatron.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":814,"url":"https:\/\/www.gubatron.com\/blog\/how-to-banunban-ips-in-linux\/","url_meta":{"origin":1399,"position":2},"title":"How to ban\/unban ips in linux","author":"gubatron","date":"May 29, 2008","format":false,"excerpt":"In case you're not an iptables guru, you might want to create a couple scripts and put em somewhere on your $PATH. I've created two scripts called ban_ip and unban_ip. Create a file called ban_ip touch ban_ip chmod +x ban_ip Edit it and copy the following code inside: #!\/bin\/bash sudo\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1092,"url":"https:\/\/www.gubatron.com\/blog\/preparing-your-primary-mount-and-swap-with-fdisk\/","url_meta":{"origin":1399,"position":3},"title":"Preparing your primary mount and swap with fdisk","author":"gubatron","date":"January 10, 2009","format":false,"excerpt":"I have 4 big drives on a new machine, each can hold up to 2Tb of data, at first I thought I'd use the first drive for the OS and the other 3 for a RAID5 (software controlled) Then after I had installed the operating system, I decided it was\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":385,"url":"https:\/\/www.gubatron.com\/blog\/como-actualizar-a-ubuntu-edgy-eft\/","url_meta":{"origin":1399,"position":4},"title":"Como actualizar a Ubuntu Edgy Eft","author":"gubatron","date":"October 27, 2006","format":false,"excerpt":"Saludos, a continuacion instrucciones para actualizar Dapper a Edgy Eft (6.10) utilizando apt-get Edita tu \/etc\/apt\/sources.list como super usuario. (Ej. sudo emacs \/etc\/apt\/sources.list) Haz search-replace de 'dapper' por 'edgy' Si no tienes emacs puedes simplemente utilizar sed y hacer el remplazo asi: sudo sed -e 's\/sdapper\/ edgy\/g' -i \/etc\/apt\/sources.list Ahora\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1447,"url":"https:\/\/www.gubatron.com\/blog\/ubuntudebian-quick-reference-how-to-change-your-servers-utc-timezone-on-the-command-line\/","url_meta":{"origin":1399,"position":5},"title":"Ubuntu\/Debian Quick Reference: How To Change Your Server&#8217;s UTC Timezone on the command line","author":"gubatron","date":"October 10, 2009","format":false,"excerpt":"Just Type... sudo dpkg-reconfigure tzdata ...and follow the instructions on screen. The process should look something like the following: Select your Region Select a city on your time zone You're done. Tip You can always check the status of your configuration using sudo debconf-show tzdata You could for example map\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/1399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=1399"}],"version-history":[{"count":0,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/1399\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=1399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=1399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=1399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}