• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Port assignments to WO apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Port assignments to WO apps (From: Kieran Kelleher <email@hidden>)
 >Re: Port assignments to WO apps (From: Sacha Mallais <email@hidden>)

  • Prev by Date: Re: accept credit cards...a WO solution...
  • Next by Date: EOMasterCopyAssociation
  • Previous by thread: Re: Port assignments to WO apps
  • Next by thread: Re: Port assignments to WO apps
  • Index(es):
    • Date
    • Thread