make a cfm page and put this in it:

<pre><cfexecute 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]

Reply via email to