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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -