<?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: Bug In SHOW PROC/CONT ? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154377#M93167</link>
    <description>Robert,&lt;BR /&gt;&lt;BR /&gt;  Just expanding on the reason here... &lt;BR /&gt;&lt;BR /&gt;Process names are only guaranteed to be unique within a UIC group. To prevent misidentification, process names can therefore only ever be used between processes in the same group. That's true for all commands and system services which accept a PID or process name.&lt;BR /&gt;&lt;BR /&gt;  Even within a group, it's possible to contrive to get two processes with the same name, easy with privilege, but possible for limited cases without. To be certain you're talking about the correct process, you should always use the PID.</description>
    <pubDate>Tue, 03 Feb 2009 20:37:41 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2009-02-03T20:37:41Z</dc:date>
    <item>
      <title>Bug In SHOW PROC/CONT ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154373#M93163</link>
      <description>As you can see from the output below, if I try to show a process using my own username (which is in the same group as the target process), it works fine.&lt;BR /&gt;&lt;BR /&gt;If I try to use the SYSTEM account with privileges, it refuses to display the process using the process name, but will using the ID.&lt;BR /&gt;&lt;BR /&gt;Do you think this a bug? I'm running IA64 8.3-1H1.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ELGAR_ROB$ shp dayedibatch&lt;BR /&gt;&lt;BR /&gt;                             Process DAYEDIBATCH                  18:51:25&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    State               HIB                 Working set                967&lt;BR /&gt;&lt;BR /&gt;    Cur/base priority   6/4                 Virtual pages            19448&lt;BR /&gt;&lt;BR /&gt;    Current PC FFFFFFFF.80605530            CPU time         0 00:09:50.20&lt;BR /&gt;&lt;BR /&gt;    Current PSL         00000000            Direct I/O            11013093&lt;BR /&gt;&lt;BR /&gt;    Current user SP     033A3A30            Buffered I/O             15646&lt;BR /&gt;&lt;BR /&gt;    PID                 20400DF9            Page faults              35491&lt;BR /&gt;&lt;BR /&gt;    UIC                 [ITOPS,BATCH_OP]    Event flags           C0000001&lt;BR /&gt;                                                                  80000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    $1$DGA2:[VISX6.RELB.][BIN]VISTAX64.EXE;5&lt;BR /&gt;&lt;BR /&gt;ELGAR_ROB$ lo&lt;BR /&gt;&lt;BR /&gt;Console port - leaving OPCOM messages intact....&lt;BR /&gt;&lt;BR /&gt;  RAA          logged out at 14-JAN-2009 18:51:28.32&lt;BR /&gt;&lt;BR /&gt; Welcome to HP OpenVMS Industry Standard 64 Operating System, Version V8.3-1H1&lt;BR /&gt;&lt;BR /&gt;Username: system&lt;BR /&gt;Password: &lt;BR /&gt;   HP OpenVMS Industry Standard 64 Operating System, Version V8.3-1H1 on node EL&lt;BR /&gt;GAR&lt;BR /&gt;    Last interactive login on Wednesday, 14-JAN-2009 18:02:03.09&lt;BR /&gt;    Last non-interactive login on Monday,  2-FEB-2009 12:47:41.37&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ELGAR_SYSTEM$ shp dayedibatch&lt;BR /&gt;%SYSTEM-W-NONEXPR, nonexistent process&lt;BR /&gt;ELGAR_SYSTEM$ shb&lt;BR /&gt;      OpenVMS User Processes at 14-JAN-2009 18:51:48.18&lt;BR /&gt;    Total number of users = 2,  number of processes = 37&lt;BR /&gt;&lt;BR /&gt; Username   Node   Process Name       PID     Terminal&lt;BR /&gt;......&lt;BR /&gt; BATCH_OP   ELGAR  DAYDATAWH        20400E05  (Batch)&lt;BR /&gt; BATCH_OP   ELGAR  DAYEDIBATCH      20400DF9  (Batch)&lt;BR /&gt; BATCH_OP   ELGAR  DAYGBSMOVUPD     20400DF5  (Batch)&lt;BR /&gt;......&lt;BR /&gt;&lt;BR /&gt;ELGAR_SYSTEM$ shp /id=20400DF9&lt;BR /&gt;&lt;BR /&gt;                             Process DAYEDIBATCH                  18:51:58&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    State               HIB                 Working set                967&lt;BR /&gt;&lt;BR /&gt;    Cur/base priority   5/4                 Virtual pages            19448&lt;BR /&gt;&lt;BR /&gt;    Current PC FFFFFFFF.80605530            CPU time         0 00:10:09.01&lt;BR /&gt;&lt;BR /&gt;    Current PSL         00000000            Direct I/O            11491084&lt;BR /&gt;&lt;BR /&gt;    Current user SP     033A3A30            Buffered I/O             15665&lt;BR /&gt;&lt;BR /&gt;    PID                 20400DF9            Page faults              35491&lt;BR /&gt;&lt;BR /&gt;    UIC                 [ITOPS,BATCH_OP]    Event flags           C0000001&lt;BR /&gt;                                                                  80000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    $1$DGA2:[VISX6.RELB.][BIN]VISTAX64.EXE;5&lt;BR /&gt;&lt;BR /&gt;ELGAR_SYSTEM$ show proc/priv&lt;BR /&gt;&lt;BR /&gt;14-JAN-2009 18:52:02.68   User: SYSTEM           Process ID:   20400E10&lt;BR /&gt;                          Node: ELGAR            Process name: "SYS_SYSTEMMANA0"&lt;BR /&gt; &lt;BR /&gt;Authorized privileges:&lt;BR /&gt; ACNT         ALLSPOOL     ALTPRI       AUDIT        BUGCHK       BYPASS&lt;BR /&gt; CMEXEC       CMKRNL       DIAGNOSE     DOWNGRADE    EXQUOTA      GROUP&lt;BR /&gt; GRPNAM       GRPPRV       IMPERSONATE  IMPORT       LOG_IO       MOUNT&lt;BR /&gt; NETMBX       OPER         PFNMAP       PHY_IO       PRMCEB       PRMGBL&lt;BR /&gt; PRMMBX       PSWAPM       READALL      SECURITY     SETPRV       SHARE&lt;BR /&gt; SHMEM        SYSGBL       SYSLCK       SYSNAM       SYSPRV       TMPMBX&lt;BR /&gt; UPGRADE      VOLPRO       WORLD&lt;BR /&gt; &lt;BR /&gt;Process privileges:&lt;BR /&gt; ACNT                 may suppress accounting messages&lt;BR /&gt; ALLSPOOL             may allocate spooled device&lt;BR /&gt; ALTPRI               may set any priority value&lt;BR /&gt; AUDIT                may direct audit to system security audit log&lt;BR /&gt; BUGCHK               may make bug check log entries&lt;BR /&gt; BYPASS               may bypass all object access controls&lt;BR /&gt; CMEXEC               may change mode to exec&lt;BR /&gt; CMKRNL               may change mode to kernel&lt;BR /&gt; DIAGNOSE             may diagnose devices&lt;BR /&gt; DOWNGRADE            may downgrade object secrecy&lt;BR /&gt; EXQUOTA              may exceed disk quota&lt;BR /&gt; GROUP                may affect other processes in same group&lt;BR /&gt; GRPNAM               may insert in group logical name table&lt;BR /&gt; GRPPRV               may access group objects via system protection&lt;BR /&gt; IMPERSONATE          may impersonate another user&lt;BR /&gt; IMPORT               may set classification for unlabeled object&lt;BR /&gt; LOG_IO               may do logical i/o&lt;BR /&gt; MOUNT                may execute mount acp function&lt;BR /&gt; NETMBX               may create network device&lt;BR /&gt; OPER                 may perform operator functions&lt;BR /&gt; PFNMAP               may map to specific physical pages&lt;BR /&gt; PHY_IO               may do physical i/o&lt;BR /&gt; PRMCEB               may create permanent common event clusters&lt;BR /&gt; PRMGBL               may create permanent global sections&lt;BR /&gt; PRMMBX               may create permanent mailbox&lt;BR /&gt; PSWAPM               may change process swap mode&lt;BR /&gt; READALL              may read anything as the owner&lt;BR /&gt; SECURITY             may perform security administration functions&lt;BR /&gt; SETPRV               may set any privilege bit&lt;BR /&gt; SHARE                may assign channels to non-shared devices&lt;BR /&gt; SHMEM                may create/delete objects in shared memory&lt;BR /&gt; SYSGBL               may create system wide global sections&lt;BR /&gt; SYSLCK               may lock system wide resources&lt;BR /&gt; SYSNAM               may insert in system logical name table&lt;BR /&gt; SYSPRV               may access objects via system protection&lt;BR /&gt; TMPMBX               may create temporary mailbox&lt;BR /&gt; UPGRADE              may upgrade object integrity&lt;BR /&gt; VOLPRO               may override volume protection&lt;BR /&gt; WORLD                may affect other processes in the world&lt;BR /&gt; &lt;BR /&gt;Process rights:&lt;BR /&gt; SYSTEM                            resource&lt;BR /&gt; INTERACTIVE                       &lt;BR /&gt; LOCAL                             &lt;BR /&gt; NET$MANAGE                        &lt;BR /&gt; &lt;BR /&gt;System rights:&lt;BR /&gt; SYS$NODE_ELGAR                    &lt;BR /&gt;ELGAR_SYSTEM$ &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154373#M93163</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2009-02-03T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bug In SHOW PROC/CONT ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154374#M93164</link>
      <description>May I cite from HELP SHOW PROCESS page:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The specified process name must be in the same group as the&lt;BR /&gt;         current process. You must use the /IDENTIFICATION qualifier to&lt;BR /&gt;         look at processes outside of your group.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Tue, 03 Feb 2009 10:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154374#M93164</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2009-02-03T10:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bug In SHOW PROC/CONT ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154375#M93165</link>
      <description>Cheers Karl.&lt;BR /&gt;&lt;BR /&gt;I read this, and stopped :-&lt;BR /&gt;&lt;BR /&gt;Requires GROUP privilege to show other processes in the same group. Requires WORLD privilege to show processes outside your group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I should have continued and also read this :-&lt;BR /&gt;&lt;BR /&gt;You must use the /IDENTIFICATION qualifier to look at processes outside of your group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;More haste, less speed I guess....&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154375#M93165</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2009-02-03T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bug In SHOW PROC/CONT ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154376#M93166</link>
      <description>As above</description>
      <pubDate>Tue, 03 Feb 2009 10:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154376#M93166</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2009-02-03T10:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bug In SHOW PROC/CONT ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154377#M93167</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;  Just expanding on the reason here... &lt;BR /&gt;&lt;BR /&gt;Process names are only guaranteed to be unique within a UIC group. To prevent misidentification, process names can therefore only ever be used between processes in the same group. That's true for all commands and system services which accept a PID or process name.&lt;BR /&gt;&lt;BR /&gt;  Even within a group, it's possible to contrive to get two processes with the same name, easy with privilege, but possible for limited cases without. To be certain you're talking about the correct process, you should always use the PID.</description>
      <pubDate>Tue, 03 Feb 2009 20:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/bug-in-show-proc-cont/m-p/5154377#M93167</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-02-03T20:37:41Z</dc:date>
    </item>
  </channel>
</rss>

