First download the RPM package for the rpmforge-release extension
32-bit operating system: wget http://www.sudu.us/Tools/bmon/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
64-bit operating system: wget http://www.sudu.us/Tools/bmon/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
to install the rpmforge-release extension
RPM-UHV rpmforge-release-0.3.6-1.el5.rf.i386.rpm or rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Then you can install Bmon using Yum Setup.
Yum-y Install Bmon
after the installation, the direct execution of the Bmon command can be opened.
Bmon-p eth0
Then Bmon will display the monitoring interface, enter G to open the graphical monitoring bar, enter D to turn on verbose mode (if not shown, enlarge the terminal window).
Ability to monitor network traffic under the shell (with dynamic effects)
RX: Flow in
TX: Outflow
To view in a basic way:
#bmon-O ascii-p eth0
Of course, you can also export the results to the browser, interested in playing
The page output commands are as follows:
Bmon-i Distribution:multicast-o Null-o html:path=/var/htdocs/
Then you can use a network server such as Ngix to configure the site directory for this output directory, you can remotely monitor the server's network traffic
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
A gadget that installs real-time detection of network bandwidth under CentOS Bmon