Skip to content

Instantly share code, notes, and snippets.

@65
Created March 10, 2012 18:40
Show Gist options
  • Select an option

  • Save 65/2012440 to your computer and use it in GitHub Desktop.

Select an option

Save 65/2012440 to your computer and use it in GitHub Desktop.
Monitor ColdFusion Instances with Jvmstat from Sun
jrun -stop
jrun -start
cd \
SET PATH=c:\jvmstat\bat;C:\Program Files\Java\jdk1.5.0_03\bin;%PATH%;
SET PATH=c:\JRun4\bin;%PATH%;
PATH
echo "you should probably stop the server you want to monitor is services"
echo "then use jrun -start to crank it up"
echo "Do this in a new window though"
jps
echo "now use jstat -gcutil processid 1000 10"
echo "or visualgc processid"
C:\jvmstat\bin
visualgc 2397
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment