I am not too familiar with jmap, jstack or jinfo. I could write a script that uses jmap to get the memory of the tomcat running and then store the necessary information in a log file.
On Tue, Jun 16, 2009 at 12:39 PM, Pid <p...@pidster.com> wrote: > André Warnier wrote: > > Matt Corban wrote: > >> Do you know where I can find a shell script (not a jsp) that will > monitor > >> the JVM and get me the same information as the Tomcat Manager does > (free, > >> max, total)? I am monitorijng a cluster of tomcats and need to keep > >> track > >> of the free memory over time. I have been looking for one and so far > >> have > >> been unsuccessful. Any suggestions? > >> > > Not sure it's exactly what you are looking for, but you may want to have > > a look at this : > > http://code.google.com/p/jmxsh/ > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > Like: > > java/bin/jmap > java/bin/jstack > java/bin/jinfo > > ? > > p > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >