Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java hsperfdata directory [closed]

Tags:

java

directory

Java creates hsperfdata directory usually in the /tmp directory. What purpose does this directory serve? What is the effect on the JVM if this directory is accidentally deleted?

like image 734
pushNpop Avatar asked Apr 16 '10 18:04

pushNpop


People also ask

What is TMP Hsperfdata?

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.

What is Hsperfdata Linux?

What's hsperfdata file? It is a log directory created by JVM while running your code. By default it is created inside the tmp folder of the operating system that you are using! This directory is a part of Java Performance counter. And the file in this directory is named by the pid number of java process.


1 Answers

That directory is part of a Java performance counter. There's a JVM argument for turning it off: see this related question on StackOverflow.

like image 187
Eric Eijkelenboom Avatar answered Sep 18 '22 17:09

Eric Eijkelenboom