java - jstat - Any performance impact in production -
is there performance impact if keep running jstat command (say every 5 min or so) in production environment monitor jvm (6.x) memory? target system real time application , 1 second pause matter.
no, jstat not impose noticeable performance impact, when run every second.
this tool relies on hotspot performance counters (aka perfdata). jstat reads data mmap'ed /tmp/hsperfdata_username/vmid. hotspot exports these counters anyway, whether read them or not.
Comments
Post a Comment