Elena Korolkova wrote:
> Hi David
>
> Thank you very much.
> Could you say which globus processes do you restart, please
>
> Thanks
> Elena
The lot!
Script below:
#!/bin/sh
DEFUNCT_PROCS=`ps -ef | grep defunct | grep globus-gma | grep -v grep`
if [ "$DEFUNCT_PROCS" != "" ] ; then
echo "Defunct processes detected: $DEFUNCT_PROCS"
# Now restart all globus services
for i in `ls /etc/init.d/globus-*` ; do
$i restart
done
fi
--
David Ambrose-Griffith - [log in to unmask]
IPPP, Department of Physics, Durham University,
Science Laboratories, South Road, Durham, DH1 3LE
Direct Dial: +44 (0)191 3343704
Office: +44 (0)191 334 3811
|