david_williams | 2f293a0 | 2006-05-19 13:51:59 +0000 | [diff] [blame] | 1 | #!/bin/sh
|
| 2 |
|
| 3 | # allow to terminate themselves, if they will
|
| 4 | echo "Attempting normal terminate of all java processes"
|
| 5 | killall /opt/public/webtools/apps/IBMJava2-ppc-142/jre/bin/java
|
| 6 | # pause briefly to allow shutdown to finish
|
| 7 | sleep 10s
|
| 8 |
|
| 9 | # but if the do not terminate themselves, we can safely force them down
|
| 10 | echo "forcing termination of any remaing java processes"
|
| 11 | killall -9 /opt/public/webtools/apps/IBMJava2-ppc-142/jre/bin/java
|
| 12 | # pause briefly to allow ports to free up, etc.
|
| 13 | sleep 10s
|
| 14 |
|