<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get CCISS disk stats in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813992#M66460</link>
    <description>Hello,&lt;BR /&gt;is there a way to get blocks read/written per second to disk when using HP SmartArray 532 (cciss driver in kernel)?&lt;BR /&gt;For IDE disks, this data is for example in /proc/diskstats, but for cciss, some numbers are simply zero.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt; 104    0 cciss/c0d0 6068090 140796 0 59423472 6910399 7410784 0 756416616 0 57831244 815849076&lt;BR /&gt; 104    1 cciss/c0d0p1 262104 3240564 1733149 3466298&lt;BR /&gt; 104    2 cciss/c0d0p2 9311 74488 11293 90344&lt;BR /&gt;   3    0 hda 1222417 14770 20531014 4574328 282550 2276383 20471632 31887560 0 5363868 36461880&lt;BR /&gt;   3    1 hda1 17678 1631178 110626 884984&lt;BR /&gt;   3    2 hda2 10937 130738 328066 2624472&lt;BR /&gt;&lt;BR /&gt;Is there a way how to get this info? Or the cciss driver does not provide it?</description>
    <pubDate>Wed, 28 Jun 2006 06:27:44 GMT</pubDate>
    <dc:creator>Marek Podmaka</dc:creator>
    <dc:date>2006-06-28T06:27:44Z</dc:date>
    <item>
      <title>How to get CCISS disk stats</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813992#M66460</link>
      <description>Hello,&lt;BR /&gt;is there a way to get blocks read/written per second to disk when using HP SmartArray 532 (cciss driver in kernel)?&lt;BR /&gt;For IDE disks, this data is for example in /proc/diskstats, but for cciss, some numbers are simply zero.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt; 104    0 cciss/c0d0 6068090 140796 0 59423472 6910399 7410784 0 756416616 0 57831244 815849076&lt;BR /&gt; 104    1 cciss/c0d0p1 262104 3240564 1733149 3466298&lt;BR /&gt; 104    2 cciss/c0d0p2 9311 74488 11293 90344&lt;BR /&gt;   3    0 hda 1222417 14770 20531014 4574328 282550 2276383 20471632 31887560 0 5363868 36461880&lt;BR /&gt;   3    1 hda1 17678 1631178 110626 884984&lt;BR /&gt;   3    2 hda2 10937 130738 328066 2624472&lt;BR /&gt;&lt;BR /&gt;Is there a way how to get this info? Or the cciss driver does not provide it?</description>
      <pubDate>Wed, 28 Jun 2006 06:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813992#M66460</guid>
      <dc:creator>Marek Podmaka</dc:creator>
      <dc:date>2006-06-28T06:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get CCISS disk stats</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813993#M66461</link>
      <description>&lt;!--!*#--&gt;iostat will show you stats:&lt;BR /&gt;&lt;BR /&gt;iostat -d -x /dev/cciss/c0d0 1&lt;BR /&gt;&lt;BR /&gt;Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;BR /&gt;cciss/c0d0   0.06  26.38 14.14 17.84  706.67  353.84   353.34   176.92    33.16     0.19    5.82   0.58   1.85&lt;BR /&gt;&lt;BR /&gt;Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;BR /&gt;cciss/c0d0   0.00   0.00  0.00  3.96    0.00   31.68     0.00    15.84     8.00     0.01    3.50   1.50   0.59&lt;BR /&gt;&lt;BR /&gt;Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;BR /&gt;cciss/c0d0   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&lt;BR /&gt;&lt;BR /&gt;This command will print out the stats once a second.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jul 2006 19:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813993#M66461</guid>
      <dc:creator>Ulf Zimmermann</dc:creator>
      <dc:date>2006-07-17T19:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get CCISS disk stats</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813994#M66462</link>
      <description>&lt;!--!*#--&gt;Thanks for your reply, but unfortunately the "iostat" command just takes the info from the /proc/diskstats file (see manpage for the -x option). So still I don't get some of the fields (the rsec/s or rkB/s are always zero).&lt;BR /&gt;&lt;BR /&gt;Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util&lt;BR /&gt;cciss/c0d0   0.46  23.54 19.28 22.59    0.00    0.00     0.00     0.00     0.00     0.56   13.36   4.44  18.60&lt;BR /&gt;&lt;BR /&gt;But it is strange as in your output I see every field is non-zero. I have official kernel 2.6.16.18 and this is information about the controller and cciss driver:&lt;BR /&gt;&lt;BR /&gt;cartman:~:# cat /proc/driver/cciss/cciss0&lt;BR /&gt;cciss0: HP Smart Array 532 Controller&lt;BR /&gt;Board ID: 0x40820e11&lt;BR /&gt;Firmware Version: 2.62&lt;BR /&gt;IRQ: 169&lt;BR /&gt;Logical drives: 2&lt;BR /&gt;Current Q depth: 0&lt;BR /&gt;Current # commands on controller: 0&lt;BR /&gt;Max Q depth since init: 192&lt;BR /&gt;Max # commands on controller since init: 305&lt;BR /&gt;Max SG entries since init: 31&lt;BR /&gt;&lt;BR /&gt;cciss/c0d0:       72.83GB       RAID 1(1+0)&lt;BR /&gt;cciss/c0d1:       18.20GB       RAID 1(1+0)&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jul 2006 21:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-cciss-disk-stats/m-p/3813994#M66462</guid>
      <dc:creator>Marek Podmaka</dc:creator>
      <dc:date>2006-07-17T21:14:28Z</dc:date>
    </item>
  </channel>
</rss>

