<?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 Process-Id Discovery in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972688#M293202</link>
    <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;What are possible options of process-id discovery in HP-UX 11i (except ps)? I want to discover the process-ids of some set of processes in the system from within a C program. Does HP-UX has something similar to Linux /proc filesystem. &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Sunderjs</description>
    <pubDate>Fri, 30 Mar 2007 05:56:52 GMT</pubDate>
    <dc:creator>Sunderjeet Singh</dc:creator>
    <dc:date>2007-03-30T05:56:52Z</dc:date>
    <item>
      <title>Process-Id Discovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972688#M293202</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;What are possible options of process-id discovery in HP-UX 11i (except ps)? I want to discover the process-ids of some set of processes in the system from within a C program. Does HP-UX has something similar to Linux /proc filesystem. &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Sunderjs</description>
      <pubDate>Fri, 30 Mar 2007 05:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972688#M293202</guid>
      <dc:creator>Sunderjeet Singh</dc:creator>
      <dc:date>2007-03-30T05:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Process-Id Discovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972689#M293203</link>
      <description>Hi,&lt;BR /&gt;and welcome to the forums !&lt;BR /&gt;&lt;BR /&gt;Please see this earlier thtread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1074999" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1074999&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please read:&lt;BR /&gt;&lt;A href="http://66.34.90.71/ITRCForumsEtiquette/after.html" target="_blank"&gt;http://66.34.90.71/ITRCForumsEtiquette/after.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
      <pubDate>Fri, 30 Mar 2007 06:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972689#M293203</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-30T06:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Process-Id Discovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972690#M293204</link>
      <description>Hi,&lt;BR /&gt;You can use the lsof tool to find the opened file on the system by any processes.&lt;BR /&gt;&lt;BR /&gt;U can download the depot from;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Fri, 30 Mar 2007 06:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972690#M293204</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2007-03-30T06:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Process-Id Discovery</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972691#M293205</link>
      <description>Unfortunately, HP-UX doesn't come with a /proc virtual filesystem.&lt;BR /&gt;I also haven't heard of a patch that would supply this feature.&lt;BR /&gt;If you want to access process data programatically you could use the pstat() syscall.&lt;BR /&gt;In man 2 pstat the struct is explained, and there's even an example code snippet.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Mar 2007 09:37:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id-discovery/m-p/3972691#M293205</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-30T09:37:53Z</dc:date>
    </item>
  </channel>
</rss>

