[Ilugc] Jakarta Tomcat Running status checking Issue
- From: sbl@xxxxxxxxxxxxxxxxxxxxx (sbl@xxxxxxxxxxxxxxxxxxxxx)
- Date: Thu Jul 29 15:50:36 2004
Bharathi Raja wrote:
hi,
U try this please "pgrep -f tomcat"(It will show ps ids).But it has some
limitations.
hi,
/pgrep/ is working fine, thank u Barathi.
i've also arrived to a solution. I tried checking for the open ports in
the server if port 8080 is open then it means that tomcat is running.so
i did a
nmap /serverip /-p 8080 | grep -q open
this also works.
how about doing this? and which is the better one ?
tnx in advance
yours,
arun kumar.m
Other related posts: