Ubuntu Linux 下的带宽监测工具Bandwidth in computer networking refers to the data rate supported by a network connection or interface. One most commonly expresses bandwidth in terms of bits per second (bps). The term comes from the field of electrical engineering, where bandwidth represents the total distance or range between the highest and lowest signals on the communication channel (band). Bandwidth represents the capacity of the connection. The greater the capacity, the more likely that greater performance will follow, though overall performance also depends on other factors, such as latency. Here is the list of bandwidth monitoring tools for your network bandwidth bmon Now we will see each tool separately bmon bmon is a portable bandwidth monitor and rate estimator running on various operating systems. It supports various input methods for different architectures. Various output modes exist including an interactive curses interface, lightweight HTML output but also formatable ASCII output Current Stable Version :- 2.1.0 Install bmon in Ubuntu sudo apt-get install bmon This will complete the installation. If you want to open the application you need to enter the following command bmon you should see the following output
If i select the eth0 i should see all the traffic details
If you want to know more available options check man page bwbar This program will output a PNG and a text file that can be used in scripts or be included in web pages to show current bandwidth usage. The amount of total bandwidth can be customized. The PNG output appears as a bar graph showing maximum possible usage with the current inbound or outbound usage shown as a differently colored bar. Current Stable Version :- 1.2.3 Install bwbar in ubuntu sudo apt-get install bwbar This will complete the installation There is a /etc/default/bwbar file to configure before this package will work and here is my config # Directory to put files into Now you need to chnage the permissions using the following command sudo chown -R www-data:www-data /var/www/bwbar/ Start the bwbar using the following command sudo /etc/init.d/bwbar start You can also launch bwbar using the following command bwbar eth0 100 -x 200 -y 7 -t 10 -p network.png -f network.txt -d /var/www/bwbar & Now you need to go to http://serverip/bwbar you should see the bandwidth bar as follows
If you want to know about available option check man page bwm BandWidth Monitor This is a very tiny bandwidth monitor (not X11). Can monitor up to 16 interfaces in the in the same time, and shows totals too. Current Stable Version :- 1.1.0 Install bwm ubuntu sudo apt-get install bwm This will complete the installation now If you want to run the application use the following command bwm Output looks like below
If you want more details and available options check man page bwm-ng small and simple console-based bandwidth monitor.Bandwidth Monitor NG is a small and simple console-based live bandwidth monitor. Current Stable Version :- 0.5 features supports /proc/net/dev, netstat, getifaddr, sysctl, kstat and libstatgrab unlimited number of interfaces supported interfaces are added or removed dynamically from list white-/blacklist of interfaces output of KB/s, Kb/s, packets, errors, average, max and total sum output in curses, plain console, CSV or HTML configfile Install bwm-ng in ubuntu sudo apt-get install bwm-ng This will complete the installation If you want to run the application you need to use the following command bwm-ng Output looks like below 上一篇:在UBUNTU里架设SquirrelMail邮件服务器 下一篇:使用 mailman 架设邮件列表 更多相关文章
|
推荐文章
精彩文章
|