I am using SMIS API to get the statistics of the IBM storwize v3700. I would like to calculate CPU utilization of the system. Using SMIS API how can I calculate cpu utilization and also volume, disk and lun read and write latency. Kindly help me on this.
Answer by stuart.haddock (30) | Feb 16, 2017 at 10:13 AM
Connect with this guy: https://aussiestorageblog.wordpress.com/2012/06/22/storwize-v7000-and-svc-performance-monitoring/
Answer by Jon_Wilkie (16) | Mar 17, 2017 at 04:33 PM
Here is a link to the various CIM statistics that can be retrieved. https://www.ibm.com/support/knowledgecenter/ST3FR7_7.8.0/com.ibm.storwize.v7000.780.doc/tbrd4_cimstatistics.html
Take note that many of them are cumulative counts so you have to subtract that value from the previous sample to get the current sample values. eg Volume Read latency for a sample = (ReadIOTimeCounter - ReadIOTimeCounter from previous sample) / (ReadIOs - ReadIOs from previous sample).