What we do, is to define a command line option that shows 
up at the beginning of the command string that identifies
the site for which this vm is running.

As we don't use tomcat, I can't tell you how to achieve 
this with tomcat.


jserv.properties:
  wrapper.bin.parameters=-DName=<sitename>


Another way to identify: 
  look for a VM that connects to a given port.

Under linux it lsof -i :<port>.
Don't know how if lsof is part of the standard 
distribution for solaris. (Last time I've worked 
with that is over 3 years ago)

> -----Urspr�ngliche Nachricht-----
> Von: Yoav Shapira [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 19. M�rz 2002 21:52
> An: [EMAIL PROTECTED]
> Betreff: Figuring out which Unix process is which
<snip/>
> We run multiple instance of tomcat using the same JAVA_HOME,
> so when we run a ps command (Solaris 2.8) we see a bunch
> of java processes, but can't tell which one is which instance
> of tomcat.  Does anyone have any ideas to help this problem?
<snip/>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to