Re: How to check Websphere Application Server status UP/DOWN in AIX
- From: steevojb@xxxxxxxxx
- Date: 24 May 2006 02:46:27 -0700
You need to determine the process you are checking
ps -ef > /tmp/ps.pre
stop websphere
ps -ef > /tmp/ps.post
diff /tmp/ps.pre /tmp/ps.post
from here, run a check for for each process
for e in proc1 proc2 proc2
do
ps -ef | grep $e
if [ $? -ne 0 ]
then
<command to restart the service>
else
<echo $e found , all OK>
fi
very harsh and not something i would use to get a definitive answer of
whether a service is available
I would look at the snmp mib and use snmpget for the specific oid's
that identify whether the application server is up and running
hope this gives you some sort of start
Steve
.
- References:
- Prev by Date: Re: How to enlarge a volumegroup??
- Next by Date: Re: How to enlarge a volumegroup??
- Previous by thread: How to check Websphere Application Server status UP/DOWN in AIX
- Next by thread: How to enlarge a volumegroup??
- Index(es):