WMI is a pretty easy way to get this done. What's your comfort level with scripting?
Have you seen this?
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/monitoring/performance/
On 1/22/06, Harding, Devon <[EMAIL PROTECTED]> wrote:
That being said. I'm looking for a
] On Behalf Of Al
MulnickSent: Sunday, January 22, 2006 11:52 AMTo:
ActiveDir@mail.activedir.orgSubject: Re: [ActiveDir] CPU/Memory usage
& .vbs?
WMI is a pretty easy way to get this done. What's your comfort level
with scripting?
Have you seen this?
http://www.activex
/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&DisplayLang=en
HTH
/Alain
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
joeSent: Sunday, January 22, 2006 7:47 PMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] CPU/Memory usage
& .vbs?
Yeah I think WMI
ceeded." End If Else intThresholdViolations = 0 End If Next Wscript.Sleep 6000 objRefresher.RefreshLoop
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Al Mulnick
Sent: Sunday, January 22, 2006
11:52 AM
To: ActiveDir@
mailto:[EMAIL PROTECTED] On Behalf Of Harding,
DevonSent: Monday, January 23, 2006 12:47 PMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] CPU/Memory usage
& .vbs?
This is
great! What I need is to use this code to output the current usage
percentage to a text file. Can this be done
cessorTime
Of course, it's usually
better to put the values into a variable, and then do what you want with the
variable...
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding,
Devon
Sent: Monday, January 23, 2006
12:47
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Tuesday, January 24, 2006
9:25 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
CPU/Memory usage & .vbs?
This is what I have. But I get an
‘Object Required’ on intProcessoeUse
strC
essorTime: " &
objItem.PercentProcessorTime
oFile.WriteLine objItem.PercentProcessorTime
Next
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding,
DevonSent: Tuesday, January 24, 2006 8:25 AMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] CPU/Memory usa
ine
"PercentProcessorTime: " & objItem.PercentProcessorTime
Next
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Coleman, Hunter
Sent: Tuesday, January 24, 2006
10:58 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
CPU/Memory usage & .vbs?
:
" & objItem.PercentProcessorTime & "%"
oFile.WriteLine "Processor Time:
" & objItem.PercentProcessorTime & "%"
Next
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding,
Devon
Sent: Tuesday, January 24, 2006
Anyone?
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding,
Devon
Sent: Tuesday, January 24, 2006
1:09 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir]
CPU/Memory usage & .vbs?
Got everything
working… I just need to get the value of _T
11 matches
Mail list logo