Solved

Getting PID of process on HP Ux with java program

Posted on 2001-09-04
3
217 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now