Re: determining what instances are running on server?
Re: determining what instances are running on server?
- Subject: Re: determining what instances are running on server?
- From: Giorgio Valoti <email@hidden>
- Date: Sat, 16 Aug 2003 09:00:15 +0200
On Venerdl, ago 15, 2003, at 19:11 Europe/Rome, Robert A. Decker wrote:
I'm unable to access Monitor on our server right now and need to
restart
an instance by killing it and letting Monitor restart it.
When I do a ps -aux | grep java I see four java processes - one of
which
is the one I want to kill. Looking at memory sizes, amount of time
running, etc I'm unable to figure out which one is mine.
if you know the ports you could try
sudo lsof -i TCP:<PORT-NUMBER>
Is there some way to figure out which pid is my app? And related to
this,
anyone have a line of code that can be put in Application that will
print
the pid out to the log file at launch, or even better, include the pid
in
the logfile name?
thanks,
Robert A. Decker
http://www.robdecker.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Giorgio Valoti
-------------
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.