Howdy,
STFA: search the list archives. This question comes up every few
months.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Jianping Zhu [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 09, 2003 12:38 PM
To: Tomcat Users List
Subject: how can i make sure tomcat
Use a command line program like wget, cURL, JMeter, ... to get a page back.
You can also look for a java process running.
-Tim
Jianping Zhu wrote:
os: redhat 7.3
how can i make sure that tomcat is running in my server?
Thanks,
can you give me more detailed instruction?
On Sun, 9 Feb 2003, Tim Funk wrote:
Use a command line program like wget, cURL, JMeter, ... to get a page back.
You can also look for a java process running.
-Tim
Jianping Zhu wrote:
os: redhat 7.3
how can i make sure that
I am not sure about linux, but why don't you just try
http://localhost:8080 or http://localhost and see?
--- Jianping Zhu [EMAIL PROTECTED] wrote:
Thanks,
can you give me more detailed instruction?
On Sun, 9 Feb 2003, Tim Funk wrote:
Use a command line program like wget, cURL,
Alternatively on *nix (including Cygwin) you can type the following:
ps -ef | grep java
Of course if you have other java procs running they will show up too.
If you wanted to see if it was bind to a port you can check netstat -a for
the port # (likely 8080 in default config), but in reality,
This is conceptually very easy, but a little tricky because the process
identification typically gets cut off for processes that are lengthy.
Which is what happens with all the classpath addition, etc.
Try this:
ps auxw --width=1000 | grep org.apache.catalina.startup.Bootstrap start
I tried
I played around with this a little bit more and this outputs a complete
list of all tomcat processes on a single line. It also avoids listing the
ps command as a found process.
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap start
| awk '{print $1 }'
Oscar
On Sat, 8 Feb
I made a slight mistake. It's printf instead of print for getting it one
line.
ps ax --width=1000 | grep [o]rg.apache.catalina.startup.Bootstrap start | awk
'{printf $1 }'
Oscar
On Sun, 9 Feb 2003, Oscar Carrillo wrote:
I played around with this a little bit more and this outputs a