Hi, I am trying to use jstat and jmap utilities to get the snapshot of the jvm. It is working fine in dev and staging env but it doesn't work in production. All three on linux. The error is 'could not find jvmId'. The main difference i found is that the on prod jvm is not creating a /tmp/hsperfdata_uid folder but on dev env 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. I tried using -XX:+UsePerfData on that jvm but still no output.
let me know if you guys had any such issues.
thanks,