- 论坛徽章:
- 0
|
JVM监控工具--jstat(虚拟机状态监控)
参考:http://docs.oracle.com/javase/6/ ... ls/share/jstat.html
Java代码- 1.class Statistics on the behavior of the class loader.
- 2.compiler Statistics of the behavior of the HotSpot Just-in-Time compiler.
- 3.gc Statistics of the behavior of the garbage collected heap.
- 4.gccapacity Statistics of the capacities of the generations and their corresponding spaces.
- 5.gccause Summary of garbage collection statistics (same as -gcutil), with the cause of the last and current (if applicable) garbage collection events.
- 6.gcnew Statistics of the behavior of the new generation.
- 7.gcnewcapacity Statistics of the sizes of the new generations and its corresponding spaces.
- 8.gcold Statistics of the behavior of the old and permanent generations.
- 9.gcoldcapacity Statistics of the sizes of the old generation.
- 10.gcpermcapacity Statistics of the sizes of the permanent generation.
- 11.gcutil Summary of garbage collection statistics.
- 12.printcompilation HotSpot compilation method statistics.
-
复制代码 Java代码- 1.C:\Documents and Settings>jstat -gcutil -h2 2112 250 4
- 2. S0 S1 E O P YGC YGCT FGC FGCT GCT
- 3. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 4. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 5. S0 S1 E O P YGC YGCT FGC FGCT GCT
- 6. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 7. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 8.
- 9.C:\Documents and Settings>jstat -gcutil -t 2112 250 4
- 10.Timestamp S0 S1 E O P YGC YGCT FGC FGCT GCT
- 11. 1239.2 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 12. 1239.5 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 13. 1239.7 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 14. 1240.0 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 15.C:\Documents and Settings>jstat -gcutil 2112 250 4
- 16. S0 S1 E O P YGC YGCT FGC FGCT GCT
- 17. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 18. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 19. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
- 20. 0.00 0.00 13.28 0.00 18.69 0 0.000 0 0.000 0.000
复制代码 |
|