<?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 pstat functions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146569#M900575</link>
    <description>good afternoon.&lt;BR /&gt;&lt;BR /&gt;does anyone here know what can i replace all the pstat functions being used in my program because of i am trying to migrate my codes from HP-UX to Linux?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
    <pubDate>Wed, 17 Dec 2003 02:00:41 GMT</pubDate>
    <dc:creator>Bhoyet Orillo</dc:creator>
    <dc:date>2003-12-17T02:00:41Z</dc:date>
    <item>
      <title>pstat functions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146569#M900575</link>
      <description>good afternoon.&lt;BR /&gt;&lt;BR /&gt;does anyone here know what can i replace all the pstat functions being used in my program because of i am trying to migrate my codes from HP-UX to Linux?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 17 Dec 2003 02:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146569#M900575</guid>
      <dc:creator>Bhoyet Orillo</dc:creator>
      <dc:date>2003-12-17T02:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: pstat functions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146570#M900576</link>
      <description>You could try it by accessing /proc/&lt;PID&gt;/status or the other 'files' there if you have /proc in your kernel...&lt;/PID&gt;</description>
      <pubDate>Wed, 17 Dec 2003 02:18:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146570#M900576</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-17T02:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: pstat functions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146571#M900577</link>
      <description>I don't think there is an equivalent on Linux.  This means you will have to find the relevant inormation from other system calls and asn Elmar suggest above, from the /proc filesystem.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2003 02:35:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146571#M900577</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-17T02:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: pstat functions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146572#M900578</link>
      <description>You can use "ps ax | wc -l" to get the process total, but I have not found yet a way to count total open files.&lt;BR /&gt;&lt;BR /&gt;Another (dirty) answer is ;&lt;BR /&gt;&lt;BR /&gt;echo `find /proc/[0-9]* -path '*/fd/*' | wc -l` / \&lt;BR /&gt;`cat /proc/sys/kernel/file-max`</description>
      <pubDate>Sun, 21 Dec 2003 12:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pstat-functions/m-p/3146572#M900578</guid>
      <dc:creator>Lethuillier</dc:creator>
      <dc:date>2003-12-21T12:09:03Z</dc:date>
    </item>
  </channel>
</rss>

