Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

timestamp in GC logs  RSS feed

 
Frank Piet
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know how to get a timestamp in a GC log? I need to synch GC activity with activity logged by vmstat.
Thanks,
Frank
 
Ardaman Chauhan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For java1.4 i use -XX:+PrintGCTimeStamps
 
Frank Piet
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Frank Piet:
Does anyone know how to get a timestamp in a GC log? I need to synch GC activity with activity logged by vmstat.
Thanks,
Frank

Is there a Java 1.3 equivalent?
thanks,
Frank
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!