James Pifer wrote:
...
A little background, I have a java based application that I've
used a
custom start and stop script for. Basically the stop script does:
stop() {
for pid in `ps -efww | grep myapp | grep -v grep | cut -b 10-15`;do
#echo $pid
kill -9 $pid
done
Can't you add a line with
ps -efww >/tmp/panic1.log
before the "for" line and a
echo $pid >>/tmp/panic2.log
before the kill line and check afterwards what has happened?
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk(a)crc.dk Homepage:
http://www.crc.dk