System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Java versions running

harshman1958
Advisor

Java versions running

Running HPUX 11.31 on Blade servers,...  Is there a way to tell what java versions installed are actually in use?  We have versions 5,6 and 7 installed and need to remove those not used for vulerability issues.

 

Thanks

 

4 REPLIES
Patrick Wallek
Honored Contributor

Re: Java versions running

I know of no easy way to find what you may be running other than by running the occasional 'ps -ef' or 'lsof' command and look for the specific java directories in the output.

Dennis Handly
Acclaimed Contributor

Re: Java versions running

>Is there a way to tell what java versions installed are actually in use?

 

If you know where they are, you could look at the last access date, which will give an approximation of "use":

ll -u

harshman1958
Advisor

Re: Java versions running

that may be useful,  Which bin programs should i be most concerned with?  thanks

 

Highlighted
Dennis Handly
Acclaimed Contributor

Re: Java versions running

>Which bin programs should I be most concerned with?

 

Well start with ones named java.