We'd need more details to give you much more than "Using JMX or jstat would be easiest" Example: ./jstat -gc 27104 S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT 20928.0 21312.0 0.0 4864.0 305728.0 128383.7 262656.0 223537.3 170240.0 130738.6 295 6.912 10 8.268 15.180 http://docs.oracle.com/javase/1.5.0/docs/tooldocs/share/jstat.html On Wed, Oct 9, 2013 at 1:05 PM, Vimal Shah wrote: > Hello, > > Does anyone have a step by step guide to getting monitoring (heap stack) > set up of a Java app on an Amazon VPC box? The application is > smartfoxserver and it's on Ubuntu 12.04. > > I've scratched the surface on the following: > > - https://code.google.com/p/javamelody/ > - > http://docs.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html > - http://jamonapi.sourceforge.net/ > > > Application code changes aren't within my reach at the moment. An apt-get > install of a monitoring tool on the server under question would be ideal. > If this tool can have low overhead even better. > > Thank you all in advance. > > -- > Vimal (rhymes with Kimmel) Shah > Front-End / Infrastructure Engineer > Sokikom > Mobile: (480) 752-9269 > Email: vimals@sokikom.com > Web: www.sokikom.com > > Follow us: twitter.com/sokikom > Like us: facebook.com/sokikom > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss > -- James McPhee jmcphe@gmail.com