<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439011#M356956</link>
    <description>Hi frnds&lt;BR /&gt;Which one is PID?&lt;BR /&gt;&lt;BR /&gt;# ps -ef|grep sam&lt;BR /&gt; root 24702 24222  0 21:19:59 pts/tb    0:00 grep sam&lt;BR /&gt;&lt;BR /&gt;Please give me the full description of this line.</description>
    <pubDate>Sat, 13 Jun 2009 14:55:55 GMT</pubDate>
    <dc:creator>Tirtha</dc:creator>
    <dc:date>2009-06-13T14:55:55Z</dc:date>
    <item>
      <title>Process ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439011#M356956</link>
      <description>Hi frnds&lt;BR /&gt;Which one is PID?&lt;BR /&gt;&lt;BR /&gt;# ps -ef|grep sam&lt;BR /&gt; root 24702 24222  0 21:19:59 pts/tb    0:00 grep sam&lt;BR /&gt;&lt;BR /&gt;Please give me the full description of this line.</description>
      <pubDate>Sat, 13 Jun 2009 14:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439011#M356956</guid>
      <dc:creator>Tirtha</dc:creator>
      <dc:date>2009-06-13T14:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Process ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439012#M356957</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;root &amp;gt;&amp;gt; The login name of the real process owner.&lt;BR /&gt;&lt;BR /&gt;24702 &amp;gt;&amp;gt;The process ID number of the process.&lt;BR /&gt;&lt;BR /&gt;24222 &amp;gt;&amp;gt;The process ID number of the parent process.&lt;BR /&gt;&lt;BR /&gt;21:19:59&amp;gt;&amp;gt;Starting time of the process.  If the elapsed time&lt;BR /&gt;                          is greater than 24 hours, the starting date is&lt;BR /&gt;                          displayed instead.&lt;BR /&gt;&lt;BR /&gt;pts/tb&amp;gt;&amp;gt;The controlling terminal for the process&lt;BR /&gt;&lt;BR /&gt;0:00 &amp;gt;&amp;gt;The cumulative execution time for the process&lt;BR /&gt;&lt;BR /&gt;grep sam &amp;gt;&amp;gt; process&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Johnson</description>
      <pubDate>Sat, 13 Jun 2009 15:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439012#M356957</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-06-13T15:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Process ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439013#M356958</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Please give me the full description of this line. &lt;BR /&gt;&lt;BR /&gt;And why not ask the manpages?  You will learn a great deal from them.&lt;BR /&gt;&lt;BR /&gt;That said, rather than fuzzily matching the basename of a process with 'grep', use the UNIX95 extensions of 'ps':&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -f -C cron&lt;BR /&gt;&lt;BR /&gt;Note that the UNIX95 (otherwise known as XPG4) behavior is confined to the command line only by writing 'UNIX95= ps' without any semicolon after the "=" and before the command.  Do not set UNIX95 in your profile nor export it to your environment.  It affects different commands in different ways and you need to know when and how.&lt;BR /&gt;&lt;BR /&gt;By the way, in your posted command, no process named 'sam' was found.  Rather a process named 'grep' with an argument named "sam" was returned!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Jun 2009 17:36:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439013#M356958</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-13T17:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Process ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439014#M356959</link>
      <description>&amp;gt;Please give me the full description of this line.&lt;BR /&gt;&lt;BR /&gt;If you pipe the output to head(1) or more(1) you'll get the titles for each column, that you can match up to the man page.</description>
      <pubDate>Sat, 13 Jun 2009 17:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439014#M356959</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-13T17:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Process ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439015#M356960</link>
      <description>you can use the head for this&lt;BR /&gt;&lt;BR /&gt;ps -ef |head -1&lt;BR /&gt;UID  PID  PPID  C    STIME TTY  TIME COMMAND&lt;BR /&gt;&lt;BR /&gt;now for your case&lt;BR /&gt;root 24702 24222 0 21:19:59 pts/tb 0:00 grep sam&lt;BR /&gt;&lt;BR /&gt;so the first one PID is the process ID&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Jun 2009 03:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439015#M356960</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2009-06-14T03:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Process ID</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439016#M356961</link>
      <description>&lt;!--!*#--&gt;Did you notice that you're looking at the&lt;BR /&gt;process for your "grep" command, not for a&lt;BR /&gt;"sam" process, which is what you seem to be&lt;BR /&gt;looking for.</description>
      <pubDate>Sun, 14 Jun 2009 05:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-id/m-p/4439016#M356961</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-14T05:28:07Z</dc:date>
    </item>
  </channel>
</rss>

