jstat returning PID not found

We have 7 SUN servers running SunOS 5.10. Only one of the 7 servers gives us the "PID not found" message when executing:

/usr/jdk1.5.0_12/bin/jstat -gcutil PID

We are using the correct PID. There seems to be something specifically wrong with this sever but we have not been able to determine what the problem is. Any ideas?

Message was edited by:

sailing-petra

[393 byte] By [sailing-petraa] at [2007-11-27 10:17:36]
# 1

Turns out it's failing because we recently changed the UID on that server. However, the application was restarted with the new UID but , the jstat command is still reporting the PID not found error. Stay tuned.

petra-sailinga at 2007-7-28 15:52:40 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

After changing the ownership of /tmp/hsperfdata_USERNAME back to USERNAME, jstat started working. Problem solved.

petra-sailinga at 2007-7-28 15:52:40 > top of Java-index,Java HotSpot Virtual Machine,Specifications...