<?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: Setting up PRM Application records in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269555#M889347</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;guess you are limited to:&lt;BR /&gt;&lt;BR /&gt;su - myadmin (or other process owner)&lt;BR /&gt;which MYCOMMAND&lt;BR /&gt;whereis MYCOMMAND&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
    <pubDate>Thu, 06 May 2004 09:22:40 GMT</pubDate>
    <dc:creator>Bernhard Mueller</dc:creator>
    <dc:date>2004-05-06T09:22:40Z</dc:date>
    <item>
      <title>Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269551#M889343</link>
      <description>I have three PRM groups defined.&lt;BR /&gt;The users are split between the groups.&lt;BR /&gt;This works fine.&lt;BR /&gt;&lt;BR /&gt;But for a few users I would like to place the processes in different PRM groups. I try to use Application records to make it work automaticly. &lt;BR /&gt;&lt;BR /&gt;My problem is that I have to known the absolute path of the binary to be able to specify the Application records. When I use the ps -ef command I can't see the complete path of the specific binary. &lt;BR /&gt;&lt;BR /&gt;The "args" field presented by ps can look like &lt;BR /&gt;"./RunThisScript".&lt;BR /&gt;&lt;BR /&gt;How can I get the absolute binary path of a process?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 08:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269551#M889343</guid>
      <dc:creator>Tor-Bjorn Jofred</dc:creator>
      <dc:date>2004-05-06T08:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269552#M889344</link>
      <description>ps -efx|grep "RunThisScript"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 06 May 2004 09:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269552#M889344</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-05-06T09:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269553#M889345</link>
      <description>I still don't get the absolute path I need.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ps -efx | grep MyServer&lt;BR /&gt; myadmin 21641 21638  0 09:34:50 ?         0:27 ./MyServer &lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 09:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269553#M889345</guid>
      <dc:creator>Tor-Bjorn Jofred</dc:creator>
      <dc:date>2004-05-06T09:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269554#M889346</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am afraid if a process is not started with the full path, you are not able to see it using ps. If you have glance installed you should be able to view the process memory regions. The TEXT is mapped on a file name. This is the full path of the executable.&lt;BR /&gt;If you do not have glance ( free 60 days , on application cdrom) you can always ask the application manager, the person who started the process. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Thu, 06 May 2004 09:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269554#M889346</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-05-06T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269555#M889347</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;guess you are limited to:&lt;BR /&gt;&lt;BR /&gt;su - myadmin (or other process owner)&lt;BR /&gt;which MYCOMMAND&lt;BR /&gt;whereis MYCOMMAND&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Thu, 06 May 2004 09:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269555#M889347</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2004-05-06T09:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269556#M889348</link>
      <description>If the binary is specified in the PATH, you can just use the command:&lt;BR /&gt;&lt;BR /&gt;# which &lt;BINARY&gt;&lt;BR /&gt;&lt;BR /&gt;and that will give you the full path. So, grep for it like you are doing and if it exists, then execute the which command.&lt;BR /&gt;&lt;BR /&gt;-Hazem&lt;/BINARY&gt;</description>
      <pubDate>Thu, 06 May 2004 09:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269556#M889348</guid>
      <dc:creator>Hazem Mahmoud_3</dc:creator>
      <dc:date>2004-05-06T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269557#M889349</link>
      <description>I have glance. The TEXT in Mem regions give me the following:&lt;BR /&gt;&lt;BR /&gt;TEXT  /Shared    2   436kb   528kb      0kb &lt;REG&gt;&lt;BR /&gt;&lt;BR /&gt;To ask the person who started the process can be hard. Most processes are started by several levels of scripts. I hope to find a better way.&lt;/REG&gt;</description>
      <pubDate>Thu, 06 May 2004 09:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269557#M889349</guid>
      <dc:creator>Tor-Bjorn Jofred</dc:creator>
      <dc:date>2004-05-06T09:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269558#M889350</link>
      <description>You should e able to put application record as follows.&lt;BR /&gt;&lt;BR /&gt;application = xxx&lt;BR /&gt;file = *RunThisScript*&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 06 May 2004 09:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269558#M889350</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-05-06T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269559#M889351</link>
      <description>The idea to use the "which" command may work, but you can be sure. The same binary name could exist in many directories.&lt;BR /&gt;&lt;BR /&gt;Another problem is when the ps command gives even less information. For the oracle processes I only get something like this:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ps -efx | grep ora_reco&lt;BR /&gt;  oracle 21905     1  0 09:35:49 ?         0:00 ora_reco_PPK&lt;BR /&gt; &lt;BR /&gt;What is the path of the binary?</description>
      <pubDate>Thu, 06 May 2004 09:43:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269559#M889351</guid>
      <dc:creator>Tor-Bjorn Jofred</dc:creator>
      <dc:date>2004-05-06T09:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269560#M889352</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Did you try gpm. If i look at a process i get Type, File Name P/S and RSS/KB , In the file name section i get a full path. or the lvol followed by an inode number:&lt;BR /&gt;&lt;BR /&gt;The inode numbers can be found with&lt;BR /&gt;ls -Ri in the start point of the lvol.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 May 2004 09:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269560#M889352</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-05-06T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269561#M889353</link>
      <description>I actually tried to use an Application record with a dummy path, like&lt;BR /&gt;&lt;BR /&gt;/usr/bin/dummy::::MYGROUP,*procName*&lt;BR /&gt;&lt;BR /&gt;to check if the binary path was used.&lt;BR /&gt;But it didn't work.</description>
      <pubDate>Thu, 06 May 2004 10:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269561#M889353</guid>
      <dc:creator>Tor-Bjorn Jofred</dc:creator>
      <dc:date>2004-05-06T10:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269562#M889354</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;The alias only works if it is started from the executable provided started it. Aliases can be verry usefull for oracle processes. The processes are all started by the oracle executable, but the many process names contain ora*&lt;SID&gt;. Did you try a inode search? &lt;BR /&gt;&lt;BR /&gt;Gideon&lt;/SID&gt;</description>
      <pubDate>Thu, 06 May 2004 13:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269562#M889354</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-05-06T13:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269563#M889355</link>
      <description>Yes I did and it was successful. I found the correct path to the binary. Now the processes are placed in the groups I wanted. &lt;BR /&gt;Thank you vary much.&lt;BR /&gt;&lt;BR /&gt;If you don't know where the binary could be found and have to search the complete filesystem, this method could take some time.</description>
      <pubDate>Thu, 06 May 2004 14:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269563#M889355</guid>
      <dc:creator>Tor-Bjorn Jofred</dc:creator>
      <dc:date>2004-05-06T14:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up PRM Application records</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269564#M889356</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;May be a &lt;BR /&gt;#find /dir -inum &lt;INODENUMBER&gt; &lt;BR /&gt;is quicker. just make sure /dir is the root dir of a filesystem. You can use the -xdev option if the filesystem has mount of an other filesystem in it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;&lt;BR /&gt;&lt;/INODENUMBER&gt;</description>
      <pubDate>Thu, 06 May 2004 14:16:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setting-up-prm-application-records/m-p/3269564#M889356</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-05-06T14:16:11Z</dc:date>
    </item>
  </channel>
</rss>

