I wish to monitor if my Tomcat process if Running, Hung, or Shutdown.
I cannot use any third party monitoring tools so i decided to use one of these to test if the tomcat server is responding or not .
1. nslookup
2. telnet
3. ps
The reason I do not use wget / curl
is because it will make the Tomcat log information in its log files which will disturb the purpose of our testing.
Which of these three is better, safer and convenient to use.
Also, let me know if you have any other suggestions.