Recently, the company has installed several DELL PE2650 and 2850 servers. The RHLE5.132 system is installed in a unified manner, while the server's SCSI hard disks are all RAID 1. The boss of the company asked for a unified detection report on hard disk I/O. He found many tools in Linux and found that iostat is the most practical. He needs to install sysstat first, that is, yum-y install sysstat; setting up yum servers in the company is not the focus
Vmstat and Iostat are important two performance monitoring tools for Linux.Vmstat-Brief information on memory, processes, and paging
Procs
R indicates how many processes are waiting for the CPUb indicates how many processes are hibernating (usually means waiting for I/O such as disk, network, user input, etc.)
MemorySWPD how many blocks are swapped out to diskFree How many pieces are idleBuff How many blocks are being used as buffersHow many b
Recently, the company has installed several DELLPE2650 and 2850 Servers. the RHLE5.132 system is installed in a unified manner, while the server's SCSI hard disks are all RAID 1. The boss of the company asked for a unified detection report on hard disk I/O. many tools were found in Linux, and iostat was the most practical tool. this...
Recently, the company has installed several DELL PE2650 and 2850 Servers. the RHLE5.132 system is installed in a unif
/S Indicate the number of megabytes read from files opened with the O_direct flag.wmb_dir/s indicate the number of Megaby TES written to files opened with the O_direct flag.rmb_svr/s indicate the number of megabytes read from the server by T He NFS client via an NFS READ request.wmb_svr/s indicate the number of megabytes written to the server by the NFS Clien T via an NFS WRITE request.ops/s indicate the number of operations this were issued to the filesystem per second.rops/ s indicate the numb
iostat monitoring I/O subsystemThe IOSTAT is an abbreviation for I/O statistics (input/output statistics) that is used to dynamically monitor the system's disk operation activity.11.1. Command formatiostat[parameters [TIME] [number]11.2. Command functionThrough the Iostat convenient to view the CPU, network card, TTY device, disk, CD-ROM and so on the activity of
Sar-u 1 2Iostat-c 1 2Vmstat 1 2TopUptimeLinux monitors CPU overall performance commonly used tools are:# Mpstat:mpstat not only can view the average information of all CPUs, but also can view the information of the specified CPU.# Vmstat: Can only view the average information of all CPUs; View CPU queue information;# Iostat: Can only view average information for all CPUs.# SAR: As with Mpstat, you can see not only the average CPU information, but also
Nagios monitoring iostatThe specific steps are as follows!
NetSeek wrote an article is to use nagios monitoring iostat, But he uses the source code package compilation, specific can refer to his article http://bbs.linuxtone.org/thread-2289-1-1.html
However, the compilation method may be inconvenient for multi-host deployment, so I checked the rpm package on the Internet for nagios to monitor iostat.
Mosquit
Use iostat in Linux to monitor the I/O status.
We can use sar (1), pidstat (1), mpstat (1), vmstat (8) for monitoring.I. Installation
yum install sysstatIi. Parameter explanation
FILES
/proc/stat contains system statistics./proc/uptime contains system uptime./proc/partitions contains disk statistics (for pre 2.5 kernels that have been patched)./proc/diskstats contains disks statistics (for post 2.5 kernels)./sys contains statistics for block devices (
Install iostat on centos
# Yum install sysstat
This parameter has never been used before. Now I have carefully studied iostat, because there is a high pressure on an important server, so let's take a look at it. below is the server with too much Io pressure.
$iostat -x 1Linux 2.6.33-fukai (fukai-laptop) _i686_ (2 CPU)avg-cpu: %user %nice %system %
During data synchronization and transmission today, if you want to use the iostat command to monitor the I/O status of the disk, this package cannot be found. This package is not installed by default. Haha, there is no way to install it on your own.[Root @ testhost ~] # Iostat-Bash: iostat: command not found
Find the sysstat package in the system disk and install
Linux IO Real-time monitoring Iostat command detailedIntroductionThe Iostat is primarily used to monitor the IO load on the system device, iostat the statistics from the start of the system startup when the first run, and then running Iostat displays statistics from the last time the command was run. Users can obtain t
Iostat (1) is the most basic tool for viewing I/O performance on Linux systems, but it can be easily misread for those who are familiar with other Unix systems. For example, Avserv on HP-UX (equivalent to SVCTM on Linux) is the most important I/O metric, reflecting the performance of the hard disk device, which is the time it takes for I/O requests to be sent from the SCSI layer to the SCSI layer after I/O is complete, Not including the wait time in t
IntroductionThe Iostat is primarily used to monitor the IO load on the system device, iostat the statistics from the start of the system startup when the first run, and then running Iostat displays statistics from the last time the command was run. Users can obtain the required statistics by specifying the number and time of the statistics.GrammarIostat [-c] [-d]
about 10.5, and every 3 seconds disk reads about 62KB, writes about: 110KB, this value is not an accurate value, why? Know why? Because of the time period problemThe best test is to find the average number of times or use the method to find the current valueAs shown below:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/86/wKiom1Uvfk2jn_KzAAC-70HOJzU414.jpg "title=" 6.png " alt= "Wkiom1uvfk2jn_kzaac-70hojzu414.jpg"/>There are many more detailed extensions for
1.iostat Range of UseThe Iostat command can generate 3 types of reports:(1) Report on CPU usage(2) Report on equipment usage(3) Report on network File System (NFS) usage2. Format description for each type of reportexplanation of the format of the CPU Usage report :%user: The percentage of time the application uses the CPU.%nice: The percentage of time that a high-priority application consumes CPU.By default
IntroductionThe Iostat is primarily used to monitor the IO load on the system device, iostat the statistics from the start of the system startup when the first run, and then running Iostat displays statistics from the last time the command was run. Users can obtain the required statistics by specifying the number and time of the statistics.GrammarIostat [-c] [-d]
% Wa indicates the time when the CPU waits for the completion of disk write. First, let's take a look at % wa's explanation: percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O Request.
Use 'lsof | less 'to view the file read/write status
'Iostat-cddx 10 '. One column "% B" describes the idle DiskProgram, Simple and direct.
Iostat-x 1 10
Linux 2.6.18-
In Linux, performance problems occur. Generally, we can use top, iostat, free, vmstat, and other commands to locate the problem. Iostat can provide us with a wealth of Io status data.
$ Iostat-D-K 1 10
The-D parameter indicates that the Usage Status of the device (Disk) is displayed.-K indicates that kilobytes is used as the unit of block usage. 1 10 indicate
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.