Redefine the Path of /tmp/hsperfdata_<user> Created by a Java Process

(Doc ID 2325910.1)

Last updated on NOVEMBER 12, 2017

Applies to:

Java SE JDK and JRE - Version 6 and later
Information in this document applies to any platform.

Goal

Java processes create a directory in /tmp with the name of /hsperdata_<user>.  The /tmp/hsperfdata_<user> directory is created by a Java VM to store performance statistics data shared by other Java programs like jps, jstack, jcmd.   

Can it be redefined or redirected to a different path?

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms