It wouldn't be quite that easy, you would probably have to write a CFX tag
to get it on windows.

On unix you can get the load average with the uptime program (use
CFEXECUTE). On linux you can get some stuff out of /proc (using CFFILE).

_____________________________________________
Pete Freitag
CTO, CFDEV.COM
http://www.cfdev.com/

-----Original Message-----
From: Tom Walder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] Determining CPU usage programmatically


Does anyone know how to ( or if it can be done ) determine CPU usage
programmatically

eg

something like

<cfoutput>#server.cpuusage#</cfoutput>


Tom


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to