<?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: ps help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708112#M59804</link>
    <description>Thanks guys, I am getting better now, We had 2 warmest days in April and today we have snow I guess the weather is playing with us too.</description>
    <pubDate>Mon, 22 Apr 2002 14:13:11 GMT</pubDate>
    <dc:creator>Anthony khan</dc:creator>
    <dc:date>2002-04-22T14:13:11Z</dc:date>
    <item>
      <title>ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708106#M59798</link>
      <description>Hi guys, I still have hangover thats why I dont like Monday but like Friday, anyway I am trying to run&lt;BR /&gt;&lt;BR /&gt;ps -ef|grep ppserver &lt;BR /&gt;&lt;BR /&gt;to get the pid and but I am getting 2 pids one for ppsever and second for grep, anyone give me a electric shock and weak me up how to do it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Apr 2002 13:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708106#M59798</guid>
      <dc:creator>Anthony khan</dc:creator>
      <dc:date>2002-04-22T13:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708107#M59799</link>
      <description>Hi Anthony:&lt;BR /&gt;&lt;BR /&gt;If i understood correctly, then this is normal. The pid which you are looking for is the one which is listed with the actual process (ppserver). The other one (grep) is the pid of your current process (ps). When you grep it, it will list all the process.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Mon, 22 Apr 2002 13:27:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708107#M59799</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-22T13:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708108#M59800</link>
      <description>Hi Anthony,&lt;BR /&gt;&lt;BR /&gt;Do &lt;BR /&gt;ps -ef | grep ppserver | grep -v grep&lt;BR /&gt;This will exclude the grep command.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 22 Apr 2002 13:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708108#M59800</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-22T13:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708109#M59801</link>
      <description>Hi Anthony &lt;BR /&gt;&lt;BR /&gt;It is definatley a hangover , grep checks  for that string in the ps o/p so if the process is running then it will give you 2 o/ps one for the process and the other for the grep &amp;lt; process&amp;gt; name which is run by you and is also present in the process list.And if the process is not running then it will give you only one o/p for the grep &lt;PROCESS name=""&gt; . If you like you can again do grep -v to exclude the grep string that you have added in the process list.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;/PROCESS&gt;</description>
      <pubDate>Mon, 22 Apr 2002 13:34:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708109#M59801</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-22T13:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708110#M59802</link>
      <description>Use the XPG4 mode:&lt;BR /&gt;&lt;BR /&gt;l1:/u/usr/merijn 102 &amp;gt; ps -Cxfs&lt;BR /&gt;ps: illegal option -- C&lt;BR /&gt;ps: illegal option -- x&lt;BR /&gt;ps: illegal option -- s&lt;BR /&gt;usage: ps [-edaflP] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup]&lt;BR /&gt;Exit 1&lt;BR /&gt;l1:/u/usr/merijn 103 &amp;gt; env UNIX95=1 ps -Cxfs&lt;BR /&gt;  PID TTY          TIME CMD&lt;BR /&gt;16303 ?           00:00 xfs&lt;BR /&gt;l1:/u/usr/merijn 104 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;'man ps' will help you further with many nice features you get when you set UNIX95 to 1 :)</description>
      <pubDate>Mon, 22 Apr 2002 13:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708110#M59802</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-04-22T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708111#M59803</link>
      <description>Hi Anthony,&lt;BR /&gt;It looks good to me.&lt;BR /&gt;It is normal. &lt;BR /&gt;I think it will be better to take todays rest of the day off. Take a rest and then you will be normal....:)....&lt;BR /&gt;Just kidding...&lt;BR /&gt;&lt;BR /&gt;whenver you give the ps -ef | grep command, it will always return PID of grep process which has been executed. your correct PID for the process is ppserver in the last column (from results of   grep out put)&lt;BR /&gt;&lt;BR /&gt;-pap&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Apr 2002 14:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708111#M59803</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2002-04-22T14:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: ps help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708112#M59804</link>
      <description>Thanks guys, I am getting better now, We had 2 warmest days in April and today we have snow I guess the weather is playing with us too.</description>
      <pubDate>Mon, 22 Apr 2002 14:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-help/m-p/2708112#M59804</guid>
      <dc:creator>Anthony khan</dc:creator>
      <dc:date>2002-04-22T14:13:11Z</dc:date>
    </item>
  </channel>
</rss>

