jstat - jvm memory stats
Posted on Wed 27 October 2010 in Linux • Tagged with java, tools, linux, notepad • 1 min read
/usr/java/jdk1.5.0_22/bin/jstat -gcutil 18703 1s 10
gcutil = Summary of Garbage Collection Statistics (mandatory)
18703 = process id (mandatory)
1s = refresh interval (optional)
10 = counter (optional)
$ /usr/java/jdk1.5.0_22/bin/jstat -gcutil 25532 1s 10
S0 S1 E O P YGC YGCT FGC FGCT GCT …
Continue reading