<?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: linux functional equivalent of pstat in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-functional-equivalent-of-pstat/m-p/4089426#M63029</link>
    <description>In HP-UX, pstat_getlv() system call is used to get I/O statistics on LVM logical volumes.&lt;BR /&gt;&lt;BR /&gt;In Linux, similar information is available through /proc/diskstats and /sys/block/&lt;VOLUME&gt;/stat. A small wrinkle though: in both these sources, the LV is not identified by name, but instead using a generic dm-N style name, in which N is the minor device number of the associated LV.&lt;BR /&gt;&lt;BR /&gt;Both the /proc and /sys filesystems contain "virtual" files, whose content is auto-generated from the kernel data structures at the time someone reads the files.&lt;BR /&gt;&lt;BR /&gt;The documentation of the format of the above-mentioned files is in the Linux kernel source tree, in file linux-&lt;VERSION&gt;/Documentation/iostats.txt.&lt;BR /&gt;&lt;BR /&gt;Here's a link to kernel 2.6.23 version of the iostats.txt file:&lt;BR /&gt;&lt;A href="http://www.mjmwired.net/kernel/Documentation/iostats.txt" target="_blank"&gt;http://www.mjmwired.net/kernel/Documentation/iostats.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MK&lt;/VERSION&gt;&lt;/VOLUME&gt;</description>
    <pubDate>Mon, 22 Oct 2007 02:34:55 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2007-10-22T02:34:55Z</dc:date>
    <item>
      <title>linux functional equivalent of pstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-functional-equivalent-of-pstat/m-p/4089425#M63028</link>
      <description>Hi,&lt;BR /&gt;I'm transferring application from HP to Linux, and I want to use something similar to pstat_getlv that I used in hpux.&lt;BR /&gt;Is there an equivelent for that?&lt;BR /&gt;Thanks,&lt;BR /&gt;Anat</description>
      <pubDate>Sun, 21 Oct 2007 10:12:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-functional-equivalent-of-pstat/m-p/4089425#M63028</guid>
      <dc:creator>anat heilper</dc:creator>
      <dc:date>2007-10-21T10:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: linux functional equivalent of pstat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-functional-equivalent-of-pstat/m-p/4089426#M63029</link>
      <description>In HP-UX, pstat_getlv() system call is used to get I/O statistics on LVM logical volumes.&lt;BR /&gt;&lt;BR /&gt;In Linux, similar information is available through /proc/diskstats and /sys/block/&lt;VOLUME&gt;/stat. A small wrinkle though: in both these sources, the LV is not identified by name, but instead using a generic dm-N style name, in which N is the minor device number of the associated LV.&lt;BR /&gt;&lt;BR /&gt;Both the /proc and /sys filesystems contain "virtual" files, whose content is auto-generated from the kernel data structures at the time someone reads the files.&lt;BR /&gt;&lt;BR /&gt;The documentation of the format of the above-mentioned files is in the Linux kernel source tree, in file linux-&lt;VERSION&gt;/Documentation/iostats.txt.&lt;BR /&gt;&lt;BR /&gt;Here's a link to kernel 2.6.23 version of the iostats.txt file:&lt;BR /&gt;&lt;A href="http://www.mjmwired.net/kernel/Documentation/iostats.txt" target="_blank"&gt;http://www.mjmwired.net/kernel/Documentation/iostats.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MK&lt;/VERSION&gt;&lt;/VOLUME&gt;</description>
      <pubDate>Mon, 22 Oct 2007 02:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-functional-equivalent-of-pstat/m-p/4089426#M63029</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-10-22T02:34:55Z</dc:date>
    </item>
  </channel>
</rss>

