Created
March 10, 2012 18:40
-
-
Save 65/2012440 to your computer and use it in GitHub Desktop.
Monitor ColdFusion Instances with Jvmstat from Sun
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jrun -stop | |
| jrun -start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| visualgc 2397 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment