how to check weblogic server status in Unix machine

Hi All,Could anybody help in suggesting how to check the weblogic server status in a Unix machine?

ps -ef |grep "startWeblogic.sh"
The above command would give the running status but can anyone throw some light how to check if it is in hung/down state.

Thanks

If you know what TCP port the server should be listening to connections on, you could telnet to that port.

For example from the server running WebLogic:
telnet localhost PORTNUMBER

If it answers, and by answers I mean it opens the telnet session and doesn't time out, or immediately fail, it would be a first sign that the application is open and accepting requests.