• 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: Which process is which
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which process is which


  • Subject: Re: Which process is which
  • From: email@hidden
  • Date: Fri, 27 Jun 2003 08:10:40 -0400

I solve this problem by writing the process number in the log file.
Here is the code I add to the constructor of my Application class:

NSLog.err.appendln(name() + " version " + version() + ", port = " +
port() + ", pid = " + System.getProperty("com.webobjects.pid"));

The name and port methods are inherited from WOApplication. The version
method takes the application version from the application bundle. This
works well on Mac OS X and Solaris. I don't know about Windows.

Serge

Le jeudi, 26 juin 2003, ` 14:49 America/Montreal, Dan a icrit :

> Back in the old days of WO 4.5 you could tell which application
> process was
> which because the application name was the process name.  Now in WO
> 5.2 every
> application shows up with a process name of 'java.exe' (at least on
> windows).
> Anyone come up with a clever way of determining who is who?
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Which process is which (From: "Dan" <email@hidden>)

  • Prev by Date: ImageMagick & WO - Resizing Images On The Fly
  • Next by Date: Re: ImageMagick & WO - Resizing Images On The Fly
  • Previous by thread: Which process is which
  • Next by thread: RE: Which process is which
  • Index(es):
    • Date
    • Thread