Tue Nov 14 15:23:38 PST 2006
- Previous message: [Slony1-general] Slight mod to launch_clusters.sh
- Next message: [Slony1-general] Slight mod to launch_clusters.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I guess this depends on the version of ps being used. The original 'ps auxww $SLONPID' on my box would list all processes, not just those for $SLONPID. My attempted "solution" wasn't very good, because, of course, $SLONPID could occur anywhere as the pid, ppid, command name, etc. Under SUSE 10.1, ps can be given a -p flag to specify listing for a process id. I guess that would be the way to go on my box. YMMV Brian Wipf <brian at clickspace.com> On 14-Nov-06, at 3:29 PM, Brian Wipf wrote: > To properly determine when slon isn't running even though there is > a pid file, I believe line 73 of the launch_clusters.sh file needs > to be modified as follows: > > FINDIT=`ps auxww $SLONPID | grep slon` > > should be: > FINDIT=`ps auxww | grep $SLONPID | grep slon` > > Brian Wipf > <brian at clickspace.com>
- Previous message: [Slony1-general] Slight mod to launch_clusters.sh
- Next message: [Slony1-general] Slight mod to launch_clusters.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list