Skip to Main Content

Java HotSpot Virtual Machine


For appeals, questions and feedback, please email

tmp/hsperfdata_uid/PID not getting created

User_B3TR2Dec 2 2022

Hi, I am trying to use jstat utilities to get the snapshot of the jvm. It is working fine in dev but it doesn't work in production, on linux.
The error is could not find pid. The main difference i found is that the on prod jvm is not creating a /tmp/hsperfdata_uid/pid folder but on dev i can see the files created under hsperfdata_uid for each jvm.
I am not able to figure out the difference between these settings in these JVMs.
Please, can u help me?

Post Details
Added on Dec 2 2022