Re: CF access to NT Performance Stats?

2004-06-09 Thread Christian Cantrell
On Jun 8, 2004, at 12:40 PM, Mark W. Breneman wrote:

> Is there any way for CF access the info that the NT performance
>  (perfmon.mmc) displays?

Have you looked at the getMetricData function?  It has a "mode"  
attribute which can be set to "perf_monitor".  I don't have a Windows  
server set up, but according to the docs:

"Returns internal data, in a structure.  To receive data, you must  
enable PerfMonitor in ColdFusion Administrator before executing the  
function.  On Windows, this data is otherwise displayed in the Windows  
PerfMonitor."

You can read more here:

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/ 
funct103.htm#wp4099518

Christian
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CF access to NT Performance Stats?

2004-06-08 Thread Jeff Garza
If you know .NET, then it's trivial to access any of the performance counters on your server.  If you have Visual Studio .NET open a new project and then check the Server Explorer.  There should be an entry for Performance Monitor...  You can then publish them out using a web service and consume them using ColdFusion. 

HTH,

Jeff Garza

  - Original Message - 
  From: Mark W. Breneman 
  To: CF-Talk 
  Sent: Tuesday, June 08, 2004 9:40 AM
  Subject: CF access to NT Performance Stats?

  Is there any way for CF access the info that the NT performance
  (perfmon.mmc) displays? I am looking to have that info emailed OR viewable
  via web interface to me on a daily basis.

  I know the CF stat data is viewable via a template named perfmon.cfm written
  by Christian Schneider.

  Also, is there any way to get access to the data in the processes tab in the
  task manager? I would really like to see if there is a task that is taking
  100% CPU before it is too late.

  Thanks. 

  Mark W. Breneman
  -Cold Fusion Developer
  -Network Administrator
    Vivid Media
    [EMAIL PROTECTED]
    www.vividmedia.com
    608.270.9770
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF access to NT Performance Stats?

2004-06-08 Thread Micha Schopman
As far is I know, this is only possible using cfexecute and a 3rd party
executable which gets the cpu load :-)

  _  

From: Mark W. Breneman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 6:40 PM
To: CF-Talk
Subject: CF access to NT Performance Stats?

Is there any way for CF access the info that the NT performance
(perfmon.mmc) displays? I am looking to have that info emailed OR viewable
via web interface to me on a daily basis.

I know the CF stat data is viewable via a template named perfmon.cfm written
by Christian Schneider.

Also, is there any way to get access to the data in the processes tab in the
task manager? I would really like to see if there is a task that is taking
100% CPU before it is too late.

Thanks. 

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CF access to NT Performance Stats?

2004-06-08 Thread Mark W. Breneman
Is there any way for CF access the info that the NT performance
(perfmon.mmc) displays? I am looking to have that info emailed OR viewable
via web interface to me on a daily basis.

I know the CF stat data is viewable via a template named perfmon.cfm written
by Christian Schneider.

Also, is there any way to get access to the data in the processes tab in the
task manager? I would really like to see if there is a task that is taking
100% CPU before it is too late.

Thanks. 



Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]