Sponsored Content
Special Forums UNIX and Linux Applications How to Monitor Tomcat App Server? Post 302990361 by mohtashims on Wednesday 25th of January 2017 10:31:36 AM
Old 01-25-2017
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 .

Code:
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

TomCat access in an Remote Linux Server

Hi all, I Installed Tomcat in an remote linux server (/usr/tomcat)and start service, using ./startup.sh (and tried with ./catalina.sh too). //----------------------------------------------------------------// # ./startup.sh Using CATALINA_BASE: /usr/tomcat/apache-tomcat-6.0.16/ Using... (1 Reply)
Discussion started by: gothama
1 Replies

2. Shell Programming and Scripting

How to restart the tomcat server

hi, I need a command that restart the tomcat server. for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script. like using the grep and ps commands can i use?... (2 Replies)
Discussion started by: sankar reddy
2 Replies

3. IP Networking

can I use tomcat server for my chatting application?

Hello, I have a socket programming code to do chatting(both server and client). But this is limited to a single machines with multi users. But my target is to perform chat operation on multiple IP addresses in a given LAN in college. Can you please tell me if I can use TOMCAT as my server to... (3 Replies)
Discussion started by: nsharath
3 Replies

4. Solaris

what is the difference between http & Tomcat web server

I do not know the difference between the apache-http and the apche-Tomcat.Is they are differentiated on their version or on their features.:confused: (2 Replies)
Discussion started by: jayaprakash
2 Replies

5. Shell Programming and Scripting

Trouble getting consistent PID of tomcat server from ps

Hello all, I am working on a script to automate the process of restarting some tomcat servers. The versions of tomcat are pretty old and it often happens that they don't shut down gracefully and the PID needs to be manually killed. I am having a bear of a time getting a consistent PID from ps... (1 Reply)
Discussion started by: dkaplowitz
1 Replies

6. UNIX for Dummies Questions & Answers

difference weblogic server/webserver/app server

Hi All, I am getting confused with the terms below. All I know is an application can be installed on a server. But I see the following terms used in a company. All of them are installed on same Unix box. Could you please help me out in layman terms as to what these exactly means. (PS: I don't... (1 Reply)
Discussion started by: tostay2003
1 Replies

7. Programming

Need a little help in running jsp pages(Tomcat server).

Hi, I have installed following software on my linux machine. Is there anything else required to run jsp pages on linux machine? Please Help Here are some details that might be helpful. # lsb_release -a LSB Version: ... (3 Replies)
Discussion started by: pinga123
3 Replies

8. Red Hat

Configure app server to view server files

Hi, We have a OEL6.1 installed on our server. We want developers to view there application logs generated on the server, but doesn't really want to give them access to server machine. Can someone please suggest how can we configure apache/httpd to create a url which will show all files in... (1 Reply)
Discussion started by: shrshah64
1 Replies

9. UNIX for Advanced & Expert Users

Script monitor website wth default tomcat script

Hi all, on our application server we have the following script that monitor the status of the website, my problem here is that i have edite the retries from 3 to 5, and the timewait to 120 second, so the script should check 5 times every 2 minutes, and if the fifth check fails it must restart... (0 Replies)
Discussion started by: charli1
0 Replies

10. UNIX for Advanced & Expert Users

Building an apache-tomcat server

Hi, I have been assigned a task to build a server with these requirements : > has multiple tomcats running under the same apache. > tomcat & jdk has to be binded with apache. > latest openssl with all necesarry "mod" to bind with apache & tomcat. I am fairly new to... (1 Reply)
Discussion started by: anaigini45
1 Replies
CHIPCARD-TOOL(1)														  CHIPCARD-TOOL(1)

NAME
chipcard-tool - a commandline client to access smart cards via libchipcard SYNOPSIS
chipcard-tool list|check|atr|monitor [-CFILE] [--configfile=FILE] [-fFILE] [--file=FILE] [--logtype=TYPE] [--loglevel=LEVEL] [--log- file=FILE] [-v] [--verbous] [-a] [--showall] [-tTIMEOUT] [--timeout=TIMEOUT] [--readers] [--drivers] [--services] [--start-all] [-h] [--help] DESCRIPTION
chipcard-tool is a command line client for libchipcard for testing the setup. ARGUMENTS
list List configured readers. check Check the specified reader. atr Execute ATR on the specified reader. monitor Monitor communication between server and clients. OPTIONS
-C FILE | --configfile=FILE Configuration file to load. -f FILE | --file=FILE This filename is used when reading or writing data such as public keys, bank information etc. --logtype=TYPE Set the logtype (console, file). --loglevel=LEVEL Set the log level (info, notice, warning, error). --logfile=FILE Set the log file (if log type is "file"). -v | --verbous Every occurrence of this option increases the verbosity. -a | --showall Show event log for drivers and readers. -t TIMEOUT | --timeout=TIMEOUT Set the total timeout for check command. --readers Show readers. --drivers Show drivers. --services Show services. --start-all Start all readers when monitoring server -h | --help Shows help. ENVIRONMENT
FILES
/etc/chipcard/ The system-wide configuration files. /var/log/chipcard/ The default log files. SEE ALSO
http://www.libchipcard.de Homepage of libchipcard project. /usr/share/doc/libchipcard-tools/ Local documentation BUGS
REVISION
Manual for chipcard-tool 2009 March 19th CHIPCARD-TOOL(1)
All times are GMT -4. The time now is 10:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy