Richard Bruno
navigation
Home
admin









IOstat
October 18th, 2016

"Utilisez la commande iostat pour générer des rapports statistiques sur l'entrée et la sortie des disques et fournir des mesures du débit, de l'utilisation, des longueurs de file d'attente, des taux de transaction et de la durée de service. Pour une description plus détaillée de cette commande, reportez-vous à la page de manuel iostat(1M)."

Source : http://docs.oracle.com/cd/E24843_01/html/E23087/spmonitor-4.html

Sample iostat Output

[laytonj@home8 IOSTAT]$ iostat -c -d -x -t -m /dev/md1 2 100
Linux 2.6.18-308.16.1.el5.centos.plus (home8)

01/31/2013 _i686_ (1 CPU)01/31/2013 09:56:01 AM
avg-cpu: %user %nice %system %iowait %steal %idle
14.78 0.38 3.47 2.16 0.00 79.21

Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
md1 0.00 0.00 0.04 0.05 0.00 0.00 8.17 0.00 0.00 0.00 0.00 0.00 0.00

01/31/2013 09:56:03 AM
avg-cpu: %user %nice %system %iowait %steal %idle
6.00 0.00 2.00 0.50 0.00 91.50

Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
md1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00



Source : http://www.admin-magazine.com/HPC/Articles/Monitoring-Storage-with-iostat

ou plus simplement :

iostat -x 5



-x : informations détaillées
5 : rafraichissement des infos toutes les 5 s

Lecture des infos

The CPU status line has just a few columns of output (the man pages for iostat were used for the list below):

%user: The percentage of CPU utilization that occurred while executing at the user level (this is the application usage).
%nice: The percentage of CPU utilization that occurred while executing at the user level with nice priority.
%system: The percentage of CPU utilization that occurred while executing at the system level (kernel).
%iowait: The percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request.
%steal: The percentage of time spent in involuntary wait by the virtual CPU or CPUs while the hypervisor was servicing another virtual processor.
%idle: The percentage of time that the CPU or CPUs were idle and the systems did not have an outstanding disk I/O request.

Analyse des infos

Vos amis :

The PERCENTAGE-UTIL is the percent of time the IO was in a busy state <=> "The percentage of time the device spent servicing requests as opposed to being idle."

Input/Output CPU wait time (iowait). iowait is from the CPU’s perspective and it is the percentage of time that the CPU spent waiting for a IO device to be ready. Another way to look at iowait is the amount of time that the CPU could have been doing something but couldn’t because all the processes were waiting on the disk or the network devices.

Source : http://blog.serverfault.com/2010/07/06/777852755/



Dernières modifs
Systemd (October 24th, 2020)
TP - rsyslogd (June 20th, 2017)
Gestion de la memoire (June 20th, 2017)
Ansible (November 10th, 2016)
Fichiers et systèmes de fichiers (November 8th, 2016)
X (October 20th, 2016)
Obtenir des informations sur le système (October 19th, 2016)

Contact
Pour m'envoyer un mail,
Pour me laisser un commentaire :
richard.brunooo
chez
gmail.com


powered by kure, modified by Bruno