<?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 -g grplist in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596347#M232182</link>
    <description>Try&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -G &lt;GROUP&gt;&lt;BR /&gt;&lt;/GROUP&gt;</description>
    <pubDate>Thu, 04 Aug 2005 03:25:46 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2005-08-04T03:25:46Z</dc:date>
    <item>
      <title>ps -g grplist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596346#M232181</link>
      <description>hi everybody !&lt;BR /&gt;i am unable to find the right way to run a ps !!&lt;BR /&gt;i am trying to list every processes from a specific group of users, doing ps -g grplist&lt;BR /&gt;where i put:&lt;BR /&gt;1/gid for grplist (no error but no processes : impossible)&lt;BR /&gt;2/$groupname for grplist (error : "ps: wrong group leader PID number $groupname")&lt;BR /&gt;do i understand well the "grplist" ?&lt;BR /&gt;or am i unable to read man pages (glasses maybe !) ?&lt;BR /&gt;THX&lt;BR /&gt;E.</description>
      <pubDate>Thu, 04 Aug 2005 03:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596346#M232181</guid>
      <dc:creator>Etienne Roseau</dc:creator>
      <dc:date>2005-08-04T03:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: ps -g grplist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596347#M232182</link>
      <description>Try&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -G &lt;GROUP&gt;&lt;BR /&gt;&lt;/GROUP&gt;</description>
      <pubDate>Thu, 04 Aug 2005 03:25:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596347#M232182</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-08-04T03:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: ps -g grplist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596348#M232183</link>
      <description>You need the PRG4 version of ps to do this.&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -G 102,105&lt;BR /&gt;&lt;BR /&gt;This will show all processes for users who's real GID is 102 or 105.</description>
      <pubDate>Thu, 04 Aug 2005 03:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596348#M232183</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-04T03:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: ps -g grplist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596349#M232184</link>
      <description>(to avoid confusion that should be XPG4 not PRG4 - can't type this morning!)</description>
      <pubDate>Thu, 04 Aug 2005 03:29:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596349#M232184</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-04T03:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: ps -g grplist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596350#M232185</link>
      <description>that's resolving my problem, thanks you 2 !!&lt;BR /&gt;but i still don't understand my "ps -g grplist" problem, any idea ??</description>
      <pubDate>Thu, 04 Aug 2005 03:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596350#M232185</guid>
      <dc:creator>Etienne Roseau</dc:creator>
      <dc:date>2005-08-04T03:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: ps -g grplist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596351#M232186</link>
      <description>Unix organizes processes in process groups.&lt;BR /&gt;This is quite handy if you need to send signals to a whole group of dependant process.&lt;BR /&gt;Instead of signaling each process (that you would have to look up in the process table)&lt;BR /&gt;you just send a signal to the process leader.&lt;BR /&gt;The login shell you use is a typical example.&lt;BR /&gt;When you exit a SIGHUP is sent to all its children.&lt;BR /&gt;Or consider the following.&lt;BR /&gt;I logged using SSH as transport.&lt;BR /&gt; &lt;BR /&gt;$ UNIX95= ps -fC sshd&lt;BR /&gt;UID        PID  PPID  C    STIME TTY          TIME CMD&lt;BR /&gt;root       856     1  0  Jul  8  ?           00:00 /opt/ssh/sbin/sshd&lt;BR /&gt;root     13137   856  0 09:45:55 ?           00:00 sshd: saz [priv]&lt;BR /&gt; &lt;BR /&gt;The connection accepting parent 856 forked off my sshd with 13137 being the group leader.&lt;BR /&gt;  &lt;BR /&gt;$ ps -fg 13137&lt;BR /&gt;     UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;    root 13137   856  0 09:45:55 ?         0:00 sshd: saz [priv]&lt;BR /&gt;     saz 13139 13137  0 09:45:56 ?         0:00 sshd: saz@pts/1&lt;BR /&gt;  &lt;BR /&gt; &lt;BR /&gt;I have to admid the notion of groups is a bit ambiguous, and maybe I as well have misunderstood it and someone more knwoledgeable will correct me soon ;-)&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2005 04:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-g-grplist/m-p/3596351#M232186</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-08-04T04:29:51Z</dc:date>
    </item>
  </channel>
</rss>

