pcp
[Top] [All Lists]

Re: Patch to allow upgraded pcp to stop old pmcd

To: Nathan Scott <nscott@xxxxxxxxxx>
Subject: Re: Patch to allow upgraded pcp to stop old pmcd
From: Michael Newton <kimbrr@xxxxxxx>
Date: Wed, 18 Jul 2007 11:20:27 +1000
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1184719875.15488.545.camel@xxxxxxxxxxxxxx>
References: <Pine.SGI.4.58.0707171230070.25651174@xxxxxxxxxxxxxxxxxxxxxxx> <1184719875.15488.545.camel@xxxxxxxxxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
nathan:
>> +    # if pmcd is running but we can't find a pidfile, or a logfile at the
>> +    # configured or default location, assume chroot
>> +    #
>> +    logf=`_pmcd_logfile`
>> +    [ -f $logf ] || logf=$RUNDIR/pmcd.log
>> +    if [ ! -f $PCP_RUN_DIR/pmcd.pid -a ! -f $logf ]
>> +    then
>> +       echo "Process ..."
>> +       cat $tmp.tmp
>The pid should probably be printed on the same line, I'll send a
>followup patch to tidy that up.

If you like.. i was merely following the pre-existing style used for the
message when pmcd would  not die. I think it is used in several places
now, so you better make sure you get all of them eggs, granny ;)

Dr.Michael("Kimba")Newton  kimbrr@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>