I hacked this one up a few months ago when I couldn't find one. You might want to review it, I don't guarantee it's accurate, and I don't know awk very well, but it seemed to be working when I last used it.<br clear="all">
<br><div>Let me know if it doesn't come through (PrintGCStats.tgz) .</div><div><br>Adam<br><br>--<br>Adam Hawthorne<br>Software Engineer<br>BASIS International Ltd.<br><a href="http://www.basis.com">www.basis.com</a><br>
+1.505.345.5232 Phone<br>
<br><br><div class="gmail_quote">On Tue, May 18, 2010 at 14:12, Hiroshi Yamauchi <span dir="ltr"><<a href="mailto:yamauchi@google.com">yamauchi@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Does any have a version of the PrintGCStats script that works with the<br>
recent Hotspot builds and that we can share in the community?<br>
<br>
It appears that an old version of it is available here:<br>
<br>
<a href="http://java.sun.com/developer/technicalArticles/Programming/turbo/#PrintGCStats" target="_blank">http://java.sun.com/developer/technicalArticles/Programming/turbo/#PrintGCStats</a><br>
<br>
But it does not seem to be able to parse the output from a recent<br>
Hotspot correctly (eg gc times always show zero.)<br>
<br>
I think it's very convenient and almost a must to have a version that<br>
we can share and standardize on.<br>
<br>
Thanks,<br>
<font color="#888888">Hiroshi<br>
</font></blockquote></div><br></div>