How can I discover the current process ID from Java?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Benjamin_Rosenbaum
Posted On:   Wednesday, April 25, 2001 01:39 AM

When analyzing logs that our Java servlet creates, it would be nice
to be able to determine the process
id of the underlying Java process
that was running at the time. In
most operating systems every thread
has an associated process with a
unique id. Is there no way to get
this information from Java?

Re: How can I discover the current process ID from Java?

Posted By:   John_Zukowski  
Posted On:   Saturday, May 5, 2001 12:25 PM

Yes, there is no way to get this information from Java (without JNI).
About | Sitemap | Contact