<?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 Re: Getting logical volumes i/o stats programatically in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214281#M91753</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Have a look at 'pstat()':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60130/pstat.2.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60130/pstat.2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 10 Jun 2008 21:21:06 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-06-10T21:21:06Z</dc:date>
    <item>
      <title>Getting logical volumes i/o stats programatically</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214280#M91752</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am working on hp pa-risc system and i need the following information:&lt;BR /&gt;&lt;BR /&gt;1. How to get information for logical volume i/o stats? the blocks/pages/bytes read or written to them i.e the amount of i/o done.&lt;BR /&gt;&lt;BR /&gt;2. Also how can i know that a logical volume belongs to a certain physical disk through api?&lt;BR /&gt;&lt;BR /&gt;Just like in solaris i have the information like this&lt;BR /&gt;&lt;BR /&gt;In solaris &lt;BR /&gt;sd0 - disk&lt;BR /&gt;sd0,a - Partition&lt;BR /&gt;sd0,b - partition&lt;BR /&gt;sd31 - disk&lt;BR /&gt;sd31,a - partition &lt;BR /&gt;&lt;BR /&gt;Can i get it this way in hp ux as well?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;rui</description>
      <pubDate>Tue, 10 Jun 2008 20:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214280#M91752</guid>
      <dc:creator>uiqbal</dc:creator>
      <dc:date>2008-06-10T20:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting logical volumes i/o stats programatically</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214281#M91753</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Have a look at 'pstat()':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60130/pstat.2.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60130/pstat.2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 10 Jun 2008 21:21:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214281#M91753</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-06-10T21:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting logical volumes i/o stats programatically</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214282#M91754</link>
      <description>1. glance (optional sw), sar and iostat are tools that can give you i/o metrics.&lt;BR /&gt;&lt;BR /&gt;2. There are no hard partitions in HP-UX. They made a comeback in 11.31 but that's only to accomodate the EFI multi OS booting. HP-UX uses LVM as the disk management system. To find out which hard disk each volume resides, use the "lvdisplay -v &lt;LVOL-PATH&gt;" command. It will show which physical disk the logical volume is on. This "residing" is done using extends.&lt;/LVOL-PATH&gt;</description>
      <pubDate>Tue, 10 Jun 2008 21:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214282#M91754</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-10T21:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting logical volumes i/o stats programatically</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214283#M91755</link>
      <description>If your HP-UX/LVM volumes contain VxFS filesystems then you could use the vxstat command to retrieve some stats about reads, writes etc.&lt;BR /&gt;See man vxstat.&lt;BR /&gt;To just see the physical layout (e.g. disks aka PVs involved, spread of PEs, allocation etc.) you can use the regular LVM commands like vgdisplay, pvdisplay, lvdisplay.&lt;BR /&gt;All understand the verbose switch -v to see lots of detail.&lt;BR /&gt;Please, look at the respective manpages for explanations of output etc.</description>
      <pubDate>Wed, 11 Jun 2008 04:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214283#M91755</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-06-11T04:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting logical volumes i/o stats programatically</title>
      <link>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214284#M91756</link>
      <description>Sorry, first part of my reply was wrong&lt;BR /&gt;since vxstat only applies to VxVM managed disks instead of LVM.</description>
      <pubDate>Wed, 11 Jun 2008 04:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/getting-logical-volumes-i-o-stats-programatically/m-p/4214284#M91756</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-06-11T04:56:43Z</dc:date>
    </item>
  </channel>
</rss>

