It is mainly used to monitor the IO load of the system equipment, iostat the statistics from the start of the system startup at the first run, and then run Iostat to display statistics from the last time the command was run. Users can obtain the required statistics by specifying the number and time of the statistics. The main source of Iostat data is/proc/partiti
Iostat for output CPU and disk I/O-related statisticsCommand parameters-C Display of CPU usage-D Display disk usage-K displays in kilobytes-m displays in units of M.-N Display of disk array (LVM) information-N Display of NFS usage-p[disk] Displays disk and partition conditions-t display terminal and CPU information-X to display detailed information-V Display version informationAVG-CPU segment:%user: The percentage of CPU that is used to run at the use
Top (Topas), Vmstat,iostat is displayed under Linux and AIX operating systemsCategory: Linux basics 2013-08-09 17:26 1093 people read reviews (0) favorite reports Detailed list of commands commonly used parameters, in their own virtual machine, the requirements of each row is not listed information explained clearly, there are different operating system platform under the different commands. For example, Linux and Aix under the top command output
Use iostat to analyze IO performance http: wwwcnblogscombangerleearticles2547
Use iostat to analyze IO performance
Http://www.cnblogs.com/bangerlee/articles/2547161.html
Linux command-iotop
Http://blog.chinaunix.net/uid-434226-id-3297460.html
Linux strace command
Http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316692.html
Inotifywait implements directory monitoring
Http://blog.csdn.net/firefoxb
Before summarizing uptime and the free command, continue today to summarize the iostat. Leave a note for yourself, and also hope to be useful to everyone.Version information:Sysstat version 9.0.4(C) Sebastien Godard (Sysstat Basic use: Iostat [-c] [-d] [-n] [-n] [-h] [-K |-m] [-t] [-v] [-X] [-z] [device [...] | ALL] [-p [device [,...] | ALL] [Inter-val [Count]]
[-c]: Output CPU statistics
[-d]: Output
The iostat command is used to monitor the load of system input/output devices.
Run the following command during installation:
Yum install sysstat
You can.
[Root @ zhaopin] # iostat
Linux 2.6.18-164. el5
Avg-cpu: % user % nice % system % iowait % steal % idle
0.45 0.00 0.26 0.09 0.24 98.96
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
X vda 6.10 7.50 80.91 150199774 1620302742
Xvda1 0.00
# iostat-x 1 10RRQM/S: Per secondThe number of read operations for the merge. ThatDelta (rmerge)/sWRQM/S: Per secondThe number of write operations for the merge. ThatDelta (wmerge)/sR/S: Reads completed per secondNumber of I/O devices. ThatDelta (RIO)/sW/S: Writes completed per secondNumber of I/O devices. ThatDelta (WIO)/sRSEC/S: Number of Read sectors per second. ThatDelta (rsect)/sWSEC/S: Number of Write sectors per second. ThatDelta (wsect)/sRKB/S
Purpose: Import the data of the iostat instruction into the file Iostat.dat , and then pour the iostat data into the database by SqlldrStep one:u1/tiger The user to build the table IostatCREATE TABLE Iostat (device varchar), TPS float (mb_read_s), mb_wrtn_s float (), Mb_read float, mb_ Wrtn Float (20));Step Two: Create a source data fileIostat–md/dev/sda2 >/oracl
When I see the CPU time of I/O waiting time is very high, the first thing to check is whether the machine is using a lot of swap space, because the speed of hard disk operation is much lower than RAM. So when the system is running out of memory, start using swap space. The performance of the system can be severely impacted.No matter what you want to access the hard disk operation is finished with the hard disk I/O exchange. So, the first step in troubleshooting is to see if the memory is exhaust
Iostat is an abbreviation for I/O statistics (input/output statistics) to dynamically monitor the system's disk operation activityiostat[parameters [TIME] [number]With Iostat, it is convenient to view the activity of CPU, network card, TTY device, disk, CD-ROM and so on, load information
-C Display of CPU usage
-D Display disk usage
-K displays in kilobytes
-m displays in units of M.
There is a performance problem with the Linux system. In general, we can check the initial location problem by Top.iostat,vmstat and other commands. Among them, Iostat can provide us with rich IO status data.$ iostat-x-1AVG-CPU:%user%nice%system%iowait%steal%idle10.43 0.00 1.51 1.51 0.00 86.56device:rrqm/s wrqm/s r/s w/s rkb/s wkb/s avgrq-sz avgqu-sz await r_await w_await SVCTM%utilSDA 4477.00 9.00 951.00 1
Before summarizing uptime and the free command, continue today to summarize the iostat. Leave a note for yourself. At the same time also want to be useful to everyone.Version number information:Sysstat version 9.0.4(C) Sebastien Godard (Sysstat Basic use: Iostat [-c] [-d] [-n] [-n] [-h] [-K |-m] [-t] [-v] [-X] [-z] [device [...] | ALL] [-p [device [,...] | ALL] [Inter-val [Count]]
[-c]: Output CPU stati
Iostat: For output CPU and disk I/O-related statisticsFirst, the command format:iostat[parameters [TIME] [number][[Email Protected]_a ~]# iostat 2 4 displays CPU and disk usage information 4 times every two seconds.]Linux 2.6.32-573.el6.x86_64 (nginx_a) January 06, 2018 _x86 -(4 CPU)AVG-CPU:%user%nice%system%iowait%steal%idle0.03 0.00 0.13 0.03 0.00 99.81Device:tps blk_read/s blk_wrtn/s Blk_read Blk_wrtnSCD
Linux system has a performance problem, generally we can use top, iostat, free, vmstat and other commands to view the initial positioning problems. Iostat can provide us with rich IO status data.1. Basic use1 TenThe parameter-D indicates that the device (disk) usage status is displayed; k Some columns that use block are forced to use kilobytes; 1 10 indicates that the data is refreshed every 1 seconds and i
Original Address:CentOS Monitoring Tools Sar,iostat
Author:Every day down
Yum-y Install Sysstat
Whereis SAR
Whereis Iostat
You can see the relevant commands
If you install with RPM package under Redhat, you can go to http://rpmfind.net/to find the Sysstat RPM package.
Also attached: Linux disk IO View related commands and instructions
From:http://blog.chinaunix.net/u3/93062/showart_1934431.html
############
Http://www.php-oa.com/2009/02/03/iostat.html
I've never used this parameter before. Now seriously study the Iostat, because there is just one important server pressure high, so put it up to analyze. The next one is IO, a server with too much pressure.
1 2 3 4 5 6 7 8
$iostat-X 1 Linux 2.6.33-fukai (fukai-laptop) _i686_ (2 CPU) avg-cpu:%user% nice%system%iowait%steal%idle nbsp; 5.47 0.50 8
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.