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 2003, Oscar Carrillo wrote:
> 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 that briefly and that seems to do it. You could put a line like
> that in your /etc/rc.d/init.d/tomcatd script and add this line for status.
>
> Then you can do this to get the info:
> service tomcatd status
>
> Oscar
>
> On Sun, 9 Feb 2003, Mark Liu wrote:
>
> > 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,
> > > 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?
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > --------------------------------
> > > Jianping Zhu
> > > Department of Computer Science
> > > Univerity of Georgia
> > > Athens, GA 30602
> > > Tel 706 5423900
> > > --------------------------------
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > http://mailplus.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]