jstat使用浅谈
jstat是jdk自带的一个命令,在jdk安装目录bin目录下,使用该工具可以进行java一些性能调优OptionDisplays...classStatistics on the behavior of the class loader.compilerStatistics of the behavior of the HotSpot Just-in-Time compiler.gcStatistics of the behavior of the garbage collected heap.gccapacityStatistics of the capacities of the generations and their corresponding spaces.gccauseSummary of garbage collection statistics (same as -gcutil), with the cause of the last and current (if applicable) garbage collection events.gcnewStatistics of the behavior of the new generation.gcnewcapacityStatistics of the sizes of the new generations and its corresponding spaces.gcoldStatistics of the behavior of the old and permanent generations.gcoldcapacityStatistics of the sizes of the old generation.gcpermcapacityStatistics of the sizes of the permanent generation.gcutilSummary of garbage collection statistics.printcompilationHotSpot compilation method statistics.http://download.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html