10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 12 MONITORING EXADATA PERFORMANCEThere is a separate bzipped file saved for each hour, making it easy to manually investigate pastperformance data or write a quick AWK, grep or Perl script, which extracts only the data of interest. Theexample below extracts iostat I/O statistics from a bzipped file from 9AM on May 25, 2011:# bzcat enkcel03.enkitec.com_iostat_11.05.25.0900.dat.bz2 | head -15zzz ***Wed May 25 09:01:43 CDT 2011 Sample interval: 5 seccondsLinux 2.6.18-194.3.1.0.4.el5 (enkcel03.enkitec.com) 05/25/11Time: 09:01:43avg-cpu: %user %nice %system %iowait %steal %idle0.76 0.00 0.78 1.37 0.00 97.09Device: r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %utilsda 12.30 12.66 17968.35 3004.31 840.31 1.27 51.05 3.68 9.18sda1 0.00 0.00 0.45 0.00 114.13 0.00 12.17 1.57 0.00sda2 0.00 0.00 0.00 0.00 2.20 0.00 0.62 0.60 0.00sda3 11.44 7.14 17879.86 2869.85 1116.56 1.21 65.19 4.76 8.84sda4 0.00 0.00 0.00 0.00 1.14 0.00 18.41 18.41 0.00sda5 0.25 4.55 14.33 116.28 27.20 0.04 8.01 2.33 1.12sda6 0.29 0.00 38.61 0.00 131.20 0.01 27.53 0.99 0.03...The OS Watcher output samples are prefixed by a timestamp line, which starts with “zzz” as you seeabove. This shows you the exact time, up to the second, when the OS command was executed and whatthe sample interval was. Note that this “zzz” line will only show you when the monitoring command wasexecuted. Some commands are executed only once per hour, but they keep collecting and dumping datasamples throughout that hour. In such case there are monitoring command-specific timestamps printedfor each data sample. The following example shows how the cellsrvstat command uses ===CurrentTime=== to indicate the exact time the performance data below it is from. You can use this prefix in yourcustom scripts. Here’s an example:::# bzcat enkcel03.enkitec.com_cellsrvstat_11.05.25.1300.dat.bz2 | head -30zzz ***Wed May 25 13:00:00 CDT 2011 Sample interval: 5 secconds===Current Time=== Wed May 25 13:00:00 2011== Input/Output related stats ==Number of hard disk block IO read requests 0 167987444Number of hard disk block IO write requests 0 150496829Hard disk block IO reads (KB) 0 111186344274Hard disk block IO writes (KB) 0 25224016152Number of flash disk block IO read requests 0 67230332Number of flash disk block IO write requests 0 15528794Flash disk block IO reads (KB) 0 870806808Flash disk block IO writes (KB) 0 347337424Number of disk IO errors 0 0Number of reads from flash cache 0 57890992Number of writes to flash cache 0 13119701Flash cache reads (KB) 0 870014160Flash cache writes (KB) 0 347236056Number of flash cache IO errors 0 0Size of eviction from flash cache (KB) 0 0Number of outstanding large flash IOs 0 0Number of latency threshold warnings during job 0 13400413

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!