Solved

Getting PID of process on HP Ux with java program

Posted on 2001-09-04
3
223 Views
Last Modified: 2008-02-01
Hi ,

How can we get the current process ID of the java program
on a HP Unix 9000 system using system calls or otherwise.
(From within the program and avoiding native calls)

Thanx
Masladosa
0
Comment
Question by:masaladosa
3 Comments
 
LVL 4

Accepted Solution

by:
Oliver_Dornauf earned 300 total points
ID: 6455693
1 )
The process ID of your java programm is plattform dependend so you can not get without natives.
2) You can only get the PID from the jvm running you java app because the java programm is not a native process at all.
0
 
LVL 5

Expert Comment

by:vemul
ID: 7765922
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points to Oliver_Dornauf

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7847205
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java exception bubble up 2 24
ejb example issues 3 47
Is Applet the way to go for my drag and drop system? 8 32
Eclipse for Java EE development 2 43
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question