Re: CFStat from remote machine
Peter Amiri wrote: On page 21 of the new Administering ColdFusion MX mini manual it shows options for web server (-h) and web server listening port (-p) but doesn't give any examples. I would like to run a cfstat on my local machine and see info for my server. Anyone know if this works. Hi Peter, I'm not sure how that works, but you could create a cfm page and use the GetMetricData function. I just posted an example in my blog: http://www.petefreitag.com/item/101.cfm __ Pete Freitag http://www.cfdev.com Author of the CFMX Developers Cookbook http://www.petefreitag.com/bookshelf/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFStat from remote machine
Thanks Pete. I'll look into using that. -Peter Amiri [EMAIL PROTECTED] MySpace.com -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 11:44 PM To: CF-Talk Subject: Re: CFStat from remote machine Peter Amiri wrote: On page 21 of the new Administering ColdFusion MX mini manual it shows options for web server (-h) and web server listening port (-p) but doesn't give any examples. I would like to run a cfstat on my local machine and see info for my server. Anyone know if this works. Hi Peter, I'm not sure how that works, but you could create a cfm page and use the GetMetricData function. I just posted an example in my blog: http://www.petefreitag.com/item/101.cfm __ Pete Freitag http://www.cfdev.com Author of the CFMX Developers Cookbook http://www.petefreitag.com/bookshelf/ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFStat from remote machine
make a cfm page and put this in it: precfexecute name = C:\CFusionMX\runtime\jre\bin\java.exe arguments = -cp C:\CFusionMX\lib\cfusion.jar coldfusion.tools.CfstatMain timeout = 100 /cfexecute /pre then just hit your cfstat.cfm to see cfstats for the server you put it on. -nathan strutz -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 12:44 AM To: CF-Talk Subject: Re: CFStat from remote machine Peter Amiri wrote: On page 21 of the new Administering ColdFusion MX mini manual it shows options for web server (-h) and web server listening port (-p) but doesn't give any examples. I would like to run a cfstat on my local machine and see info for my server. Anyone know if this works. Hi Peter, I'm not sure how that works, but you could create a cfm page and use the GetMetricData function. I just posted an example in my blog: http://www.petefreitag.com/item/101.cfm __ Pete Freitag http://www.cfdev.com Author of the CFMX Developers Cookbook http://www.petefreitag.com/bookshelf/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFStat from remote machine
Thanks Pete. The sample code works great. One question though. This seems to only work on CFMX 6.1 standalone install. I tried it on my Mac OX CFMX 6.0 on top of JRUN and also on a new CFMX 6.1 on JRUN (the second option given in the installer) and both times I get an error message The metrics service is not available. I know that under the JRUN install the checkboxes for Perf Mon and CFStat are gone. So here is my question, do you know how to start this service? -Peter Amiri [EMAIL PROTECTED] MySpace.com -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 11:44 PM To: CF-Talk Subject: Re: CFStat from remote machine Peter Amiri wrote: On page 21 of the new Administering ColdFusion MX mini manual it shows options for web server (-h) and web server listening port (-p) but doesn't give any examples. I would like to run a cfstat on my local machine and see info for my server. Anyone know if this works. Hi Peter, I'm not sure how that works, but you could create a cfm page and use the GetMetricData function. I just posted an example in my blog: http://www.petefreitag.com/item/101.cfm __ Pete Freitag http://www.cfdev.com Author of the CFMX Developers Cookbook http://www.petefreitag.com/bookshelf/ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFStat from remote machine
On page 21 of the new Administering ColdFusion MX mini manual it shows options for web server (-h) and web server listening port (-p) but doesn't give any examples. I would like to run a cfstat on my local machine and see info for my server. Anyone know if this works. -Peter Amiri [EMAIL PROTECTED] MySpace.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]