01-25-2017
I recommend these options:
- Keep track at the Tomcat memory usage. E. g. with the nagios or any other plugin:
check_tomcat.pl - Nagios Exchange
- Check the web-site the tomcat is providing(if it is a website) or use simple application requests to your tomcat whatever that maybe. If the tomcat does not respond it's obviously dead.
- Check for a running java-process meeting the criteria of you tomcat process
Maybe one want not only to know when an application is dead, but also how healthy that application is(memory usage, response time,...)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT MINIX
shutdown
SHUTDOWN(8) System Manager's Manual SHUTDOWN(8)
NAME
shutdown - graciously close the system down
SYNOPSIS
shutdown [-hrRmk] [-x code] [time-specification [message]]
DESCRIPTION
Shutdown is a program which allows a system operator to close down the system in an nice way. Shutdown informs the users why and when the
system is going down. This warning is issued 10 minutes before shutdown time and every minute in the last 5 minutes. At this time (5 min-
utes), shutdown creates a file /etc/nologin to prevent new users from logging in.
Shutdown keeps a logfile of shutdowns. Every shutdown is registered in /usr/adm/wtmp, if this file exists. After these actions, a call is
done to reboot(2) which actually brings the system down.
Time-specification may be something like 15:00, 15.00, +15, or now for a shutdown at 3pm (twice), 15 minutes from now, or immediately.
The message may be used to describe why the system is going down, it may also be typed on standard input with the -m option.
OPTIONS
-h This flag prevents the system from rebooting after the shutdown. The system can now be powered off. This is the default.
-r This flag indicates that the system should reboot after shutting down.
-R Reboot the system by resetting it. Normally the kernel will try to return to the Boot Monitor. With -R the system will receive a
hardware reset.
-x code
Halt the system and let the Monitor execute the given code as if typed at the monitor prompt. You can for instance use -x 'boot
hd0' as a very fast way to reboot "from the top."
-m Allows the operator to type a shutdown message on standard input, that will be added to the messages displayed on all terminals.
-k This option gives the possibility of terminating an already started shutdown. This is only possible if shutdown time has not yet
arrived.
-C Check if the system crashed. This option is not used at shutdown time, but at reboot time. It tells if the file systems should be
checked by testing if the last entry in the wtmp file is a shutdown entry. (A crude replacement for a file system clean flag.)
FILES
/usr/adm/wtmp, /etc/nologin, /usr/adm/authlog
SEE ALSO
reboot(2), wall(1), halt(8), boot(8).
AUTHOR
Edvard Tuinder (v892231@si.hhs.NL)
SHUTDOWN(8)