Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

Getting PID of process on HP Ux with java program

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
masaladosa
Asked:
masaladosa
1 Solution
 
Oliver_DornaufCommented:
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
 
vemulCommented:
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
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now