<?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 psgrep not found in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033247#M707953</link>
    <description>hi, &lt;BR /&gt;i am having problems with my cluster's config.&lt;BR /&gt;it says:&lt;BR /&gt;psgrep: not found&lt;BR /&gt;i checked customer.functions and the psgrep line seems OK..&lt;BR /&gt;i also looked for psgrep but i cant find it anywhere.&lt;BR /&gt;trying to work it with MCSG A.11.13 and SAP&lt;BR /&gt;&lt;BR /&gt;please help...&lt;BR /&gt;thanks</description>
    <pubDate>Fri, 25 Jul 2003 06:35:40 GMT</pubDate>
    <dc:creator>Mary Ann Lipa</dc:creator>
    <dc:date>2003-07-25T06:35:40Z</dc:date>
    <item>
      <title>psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033247#M707953</link>
      <description>hi, &lt;BR /&gt;i am having problems with my cluster's config.&lt;BR /&gt;it says:&lt;BR /&gt;psgrep: not found&lt;BR /&gt;i checked customer.functions and the psgrep line seems OK..&lt;BR /&gt;i also looked for psgrep but i cant find it anywhere.&lt;BR /&gt;trying to work it with MCSG A.11.13 and SAP&lt;BR /&gt;&lt;BR /&gt;please help...&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 25 Jul 2003 06:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033247#M707953</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2003-07-25T06:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033248#M707954</link>
      <description>which version of the SGeSAP toolkit are you using to create your SAP package?&lt;BR /&gt;I am not aware of a psgrep command&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 06:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033248#M707954</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2003-07-25T06:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033249#M707955</link>
      <description>Neither i know of a "psgrep"  command.&lt;BR /&gt;&lt;BR /&gt;It may be an alias...&lt;BR /&gt;&lt;BR /&gt;try issuing, from shell&lt;BR /&gt;&lt;BR /&gt;alias | grep ps&lt;BR /&gt;&lt;BR /&gt;and see.&lt;BR /&gt;&lt;BR /&gt;     Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 07:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033249#M707955</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-25T07:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033250#M707956</link>
      <description>Not knowing anything about SAP peculiarities, I simply would assume that psgrep is nothing more than an alias or a shell func definition by the user account that runs the SAP instance.&lt;BR /&gt;I further would assume that this alias or like is already defined in some (shell specific) dotfile in the sap user's $HOME.&lt;BR /&gt;Probably your package control script just needs to source this dotfile?</description>
      <pubDate>Fri, 25 Jul 2003 07:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033250#M707956</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2003-07-25T07:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033251#M707957</link>
      <description>thanks. i'll consult my sap guy.</description>
      <pubDate>Fri, 25 Jul 2003 07:10:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033251#M707957</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2003-07-25T07:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033252#M707958</link>
      <description>Ah, found it.&lt;BR /&gt;&lt;BR /&gt;I remembered we had a box that runs SAP.&lt;BR /&gt;&lt;BR /&gt;Thereon I did this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# swlist|grep -i sap&lt;BR /&gt;  B7885BA                       B.03.07        MC/Service Guard Extension for SAP &lt;BR /&gt;  PHSS_28733                    1.0            OV DP5.00 patch - SAP packet &lt;BR /&gt;# swlist -l file B7885BA&lt;BR /&gt;# Initializing...&lt;BR /&gt;# Contacting target "warnow"...&lt;BR /&gt;#&lt;BR /&gt;# Target:  warnow:/&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# B7885BA                               B.03.07        MC/Service Guard Extension for SAP &lt;BR /&gt;# B7885BA.SG-Ext-SAP-R3                 B.03.07        MC/ServiceGuard Extension for SAP &lt;BR /&gt;# B7885BA.SG-Ext-SAP-R3.SG-SAP-COR      B.03.07        Core MC/SG SAP R/3 Integration Files &lt;BR /&gt;  /opt/cmcluster                       &lt;BR /&gt;  /opt/cmcluster/sap                   &lt;BR /&gt;  /opt/cmcluster/sap/CCmon                     &lt;BR /&gt;  /opt/cmcluster/sap/CCmon/Readme_CCmon                &lt;BR /&gt;  /opt/cmcluster/sap/CCmon/Setup_CCmon                 &lt;BR /&gt;  /opt/cmcluster/sap/CCmon/ccmon.tar                   &lt;BR /&gt;  /opt/cmcluster/sap/SID                       &lt;BR /&gt;  /opt/cmcluster/sap/SID/customer.csh                  &lt;BR /&gt;  /opt/cmcluster/sap/SID/customer.sh                   &lt;BR /&gt;  /opt/cmcluster/sap/SID/sap.conf                      &lt;BR /&gt;  /opt/cmcluster/sap/SID/sapap.cntl                    &lt;BR /&gt;  /opt/cmcluster/sap/SID/sapci.cntl                    &lt;BR /&gt;  /opt/cmcluster/sap/SID/sapdb.cntl                    &lt;BR /&gt;  /opt/cmcluster/sap/SID/sapdbci.cntl                  &lt;BR /&gt;  /opt/cmcluster/sap/SID/saplc.cntl                    &lt;BR /&gt;  /opt/cmcluster/sap/SID/saplc.mon                     &lt;BR /&gt;  /opt/cmcluster/sap/SID/startdb.sql                   &lt;BR /&gt;  /opt/cmcluster/sap/customer.functions                &lt;BR /&gt;  /opt/cmcluster/sap/sap.functions                     &lt;BR /&gt;&lt;BR /&gt;# grep -l psgrep $(swlist -l file B7885BA|grep /opt)&lt;BR /&gt;/opt/cmcluster/sap/customer.functions&lt;BR /&gt;/opt/cmcluster/sap/sap.functions&lt;BR /&gt;&lt;BR /&gt;# grep alias\ psgrep /opt/cmcluster/sap/sap.functions&lt;BR /&gt;alias psgrep='ps -ef | grep -v grep'&lt;BR /&gt;&lt;BR /&gt;There we got the culprit.&lt;BR /&gt;I think you must provide your customer_defined_cm{run|halt}_commands()&lt;BR /&gt;somehow with an invocation (probably sourcing) of this sap.functions file.</description>
      <pubDate>Fri, 25 Jul 2003 07:20:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033252#M707958</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2003-07-25T07:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033253#M707959</link>
      <description>Thanks Ralph..&lt;BR /&gt;got it now....&lt;BR /&gt;its just an alias..&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 07:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033253#M707959</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2003-07-25T07:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033254#M707960</link>
      <description>Mary Ann,&lt;BR /&gt;&lt;BR /&gt;don't know if the basic SAP file layout is the same on most HP-UX boxes.&lt;BR /&gt;&lt;BR /&gt;However I found on our's in one of the SG packages' directories this sapdbci.cntl file lingering.&lt;BR /&gt;&lt;BR /&gt;Therein is a variable assignment that gives the path to the sap.functions.&lt;BR /&gt;Maybe this one is lacking in your installation?&lt;BR /&gt;&lt;BR /&gt;# grep ^FUNC_FILE /etc/cmcluster/Z01/sapdbci.cntl&lt;BR /&gt;FUNC_FILE=${FUNC_FILE:-/etc/cmcluster/sap.functions}&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 07:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033254#M707960</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2003-07-25T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: psgrep not found</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033255#M707961</link>
      <description>It looks like this function was in the older versions of the SGeSAp Toolkkit, as it is no longer in the newer versions that I have.&lt;BR /&gt;You should find in the /opt/cmcluster/sap/sap.functions file that there is a line: &lt;BR /&gt;alias psgrep=`ps -ef | grep -v grep`&lt;BR /&gt;All this is doing is enabling later grep command lines to be shortened in htese scripts.&lt;BR /&gt;This is definitley in the B.03.06 release.&lt;BR /&gt;As I say, this no longer seem to appear in the later SGeSAP toolkit releases.&lt;BR /&gt;Checking my B.03.07 it is still htere, but in hte newer B.03.08 it is no longer there.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 07:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/psgrep-not-found/m-p/3033255#M707961</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2003-07-25T07:43:20Z</dc:date>
    </item>
  </channel>
</rss>

