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]

Reply via email to