Re: Port assignments to WO apps
Re: Port assignments to WO apps
- Subject: Re: Port assignments to WO apps
- From: Kieran Kelleher <email@hidden>
- Date: Mon, 15 Aug 2005 22:15:45 -0400
Thanks Sacha ..... just what I needed.
Regards, Kieran
On Aug 15, 2005, at 7:00 PM, Sacha Mallais wrote:
On Aug 15, 2005, at 3:54 PM, Kieran Kelleher wrote:
I've messed around with ps and lsof and grep and I can see the ports
my WO apps are running on on my server, but I cannot see to find
which WOPort (as in Monitor port) is assigned to what pid. Ports
associated with running apps are all in the 60000+ area whereas the
Monitor assigned apps are 2001, 2002, etc.
I want to kill a rogue instance that is running outside of WoMonitor
control, but I cannot tell which pid it is.
Any suggestions (besides restarting the XServe which is what I want
to avoid right now)?
lsof -i tcp:<port #>
will list all open files on that port. Look at the last column
("NAME") for a line that includes an asterisk and a colon, similar to
this:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 4119 appserver 5u IPv6 0x047970e0 0t0 TCP *:dc
(CLOSE_WAIT)
And there's your PID... Note that you'll need to be root.
sacha
--
Sacha Michel Mallais -- President / Senior Developer
Global Village Consulting Inc. http://www.global-village.net/
Hi! I'm a signature virus. Copy me into your sig file and help me
spread!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden