Linux/centos operating system.You can use the Yum installation command as follows:Nethogs belongs to the Epel package, if the machine is not installed Epel need to install Epel first, the command is as follows#rpm-UVH http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm#yum-y Install libpcap nethogsThe installation is complete as shownCommand usage: Directly at the command line terminal input nethogs default listener eth0 netwo
Nload is a simple and easy-to-use bandwidth flow monitoring tool under Linux, and dynamic graphics based on character interface display the current traffic of the NIC.
However, CentOS official source does not have it, can not directly use Yum installation. We can download the third party RPM release platform and recommend the following source, which releases multiple RPM packages
http://pkgs.repoforge.org
Iperf is a pure bandwidth test software based on the C/S model. it can test the network card throughput. The advantage of iperf is to simply send and receive packets, to prevent hard disks from dragging down and affecting the test results. This document uses a gigabit network card Bcom5720 for testing. the environment CentOS6.4x64 installs iperf on both machines.
Iperf is a pure bandwidth test software base
Tags: blog technical description off-line rpm package download RPM PAC Water TransferUse the QPERF command to test network bandwidth and network latency under LinuxIf no command can be installed with Yum, the command is as follows:#yum-y Install QperfIf there is no yum or no network, install the following RPM package in turn, this test is done on the CENTOS6 version, the package used is also version 6,Download RPM Package Address: Centos6/redhat6 http
Iperf is a pure bandwidth test software based on the C/S model. It can test the network card throughput.
The advantage of iperf is to simply send and receive packets, to prevent hard disks from dragging down and affecting the test results.
This document uses a gigabit Nic Bcom 5720 as a test environment CentOS 6.4x64
Install iperf on both machinesYuminstalliperf -- enablerepo = epel
Start one of them as
First download the RPM package for the rpmforge-release extension32-bit operating system: wget http://www.sudu.us/Tools/bmon/rpmforge-release-0.3.6-1.el5.rf.i386.rpm64-bit operating system: wget http://www.sudu.us/Tools/bmon/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpmto install the rpmforge-release extensionRPM-UHV rpmforge-release-0.3.6-1.el5.rf.i386.rpm or rpmforge-release-0.3.6-1.el5.rf.x86_64.rpmThen you can install Bmon using Yum Setup.Yum-y Install Bmonafter the installation, the direct exe
View the network bandwidth egress of CentOS
Check the network port size of the server when maintaining the system. Therefore, a Linux Command is required.
How can I check the network bandwidth egress of CentOS? You can use the following command to view details.
# Ethtool eth0
The preceding command is followed by
Install vnStat on CentOS to monitor ECs traffic
In addition to the Panel provided by the service provider, we can also install vnStat to monitor the upstream and downstream traffic of your VPS or server on a daily basis. The vnStat installation method is simple, which can be divided into compilation and installation or direct installation through the source.1. Us
traffic database is large, bugs will often occur. we recommend that you use the source installation here.II. use the source to install vnStat
In CentOS, you need to import a third-party EPEL source.
Then install vnStat
yum -y install vnstat
Generate database
vnstat -u -i eth0
Modify/etc/cron.d/vnstatFile, the last line is changed
*/5 * * * * root /usr/sbin/vnstat.cron
Set vnStat to run automatically after restart
chkconfig vnstat on
Debian/Ubuntu do
One, download the required installation packageThere are two methods of downloading:1. Download to local, install by Mount:Main download page: http://docs.cacti.net/Php-weathermap-0.97a.zipSettings-v0.71-1.tgzThold-0.4.1.tar.gzMonitor-v1.3-1.tgz2, directly in the CentOS through the wget command to download the installation:wget http://docs.cacti.net/plugin:settings/settings-v0.71-1.tar.gzwget Http://www.network-weathermap.com/files/php-weathermap-0.97
CentOS Build lepus3.8 Monitor MySQLYum-y install gcc libffi-devel python-devel openssl-devel mysql-devel zlib-develMonitor side install database connect Python driver package1). Install MySQLdb for Python (must be installed if you need to monitor MySQL)MySQLdb connects and operates the MySQL class library for Python, which must be installed if you are ready to us
Monitor hard disk status with smartd in CentOS
Compared with processors and memory, the hard disk is the slowest subsystem on the server, the most prone to performance bottlenecks, and the most vulnerable part. Because the hard disk is the farthest away from the processor and accessing the hard disk involves some mechanical operations, such as rotating shafts and rail tracing, the machine is prone to faults
:17989373908 (17.9 GB) TX bytes:24055536418 (24.0 GB) Interrupt:32
Then your VPS or server NIC iseth0
Then generate the vnStat database:
/usr/bin/vnstat -u -i eth0
If your Nic is noteth0To change the network card name and/etc/vnstat.confOfInterface "eth0"Your nic name.
Then you can start vnStat:
vnstatd -d
There is a problem with this method, that is, occasionally the traffic statistics will be stopped, especially in CentOS. when the traffic
CentOS is connected to the monitor, leading to screen skew
Today, when I was calling an old DELL CentOS6.5 server, I connected the monitor and found that the screen was completely skewed and I couldn't see the font clearly.
Solution: Change the display on the positive screen (usually available in IDC Rooms ).
I checked the information on the Internet, found se
database:
/usr/bin/vnstat -u -i eth0
If your Nic is noteth0To change the Network Card Name and/etc/vnstat.confOfInterface "eth0"Your Nic name.
Then you can start vnStat:
vnstatd -d
There is a problem with this method, that is, occasionally the traffic statistics will be stopped, especially in CentOS. When the traffic database is large, bugs will often occur. We recommend that you use the source installation here.Ii. Use the source to install vnStat
I
Compared with processors and memory, the hard disk is the slowest subsystem on the server, the most prone to performance bottlenecks, and the most vulnerable part. Because the hard disk is the farthest away from the processor and accessing the hard disk involves some mechanical operations, such as rotating shafts and rail tracing, the machine is prone to faults. As a VPS service provider and system administrator, the most feared problem is that the hard disk is faulty. Therefore, it is very impo
Monitor CentOS User Logon history using utmpdump
Retaining, maintaining, and analyzing logs (such as account events that have occurred in a specific period of time) is one of the most basic and important tasks for Linux system administrators. For user management, checking user login and logout logs (whether failed or successful) can enable us to be vigilant against any potential security risks or unauthoriz
the use of iftop?
Iftop can be used to monitor the network card's real-time traffic (network segment can be specified), reverse resolution IP address, display port information, and so on. The detailed description will be described in the following parameters.
Install iftop
If compilation and installation are used, you can download the latest source code package from the iftop official website. Before installation, you must have installed the environm
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.