Have a look at http://www.lissware.net,
 
Volume 1
Sample 5.18 to 5.19 - WatchInstanceStateWithRefreshMethod.wsf
Sample 5.20 - WatchInstanceCollectionStateWithRefresher.wsf
 
Volume 2
Sample 3.77 to 3.78 - WMICounterMonitor.wsf
Sample 3.79 - PerfMonProv.mof
Sample 3.80 - PerfMonClasses.Mof
Sample 3.81 - NTProcesses.wsf
 
All these scripts represent techniques and technologies to gather such a data.
 
You can also have a look at http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx
 
WMI Code Creator v1.0 can also help you:
http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&DisplayLang=en
 
HTH
/Alain


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Sunday, January 22, 2006 7:47 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] CPU/Memory usage & .vbs?

Yeah I think WMI is about it for you for this type of stuff from script. Look through the archives for posts from Alain Lissoir (PM for WMI at MS) as he has several links for free tools to automate creating scripts to gather info like this.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Mulnick
Sent: Sunday, January 22, 2006 11:52 AM
To: ActiveDir@mail.activedir.org
Subject: 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.activexperts.com/activmonitor/windowsmanagement/adminscripts/monitoring/performance/

 
On 1/22/06, Harding, Devon <[EMAIL PROTECTED]> wrote:
That being said.  I'm looking for a script that will output the current memory usage (in percentage) & the top cpu processes.  Is this possible?  wmi?

________________________________

From: [EMAIL PROTECTED] on behalf of Michael B. Smith
Sent: Sat 1/21/2006 6:14 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] OT: .vbs mailing list?



Although my most useful information about tough _vbscript_ questions has
come from here and from Robbie Allen's various books, there is
[EMAIL PROTECTED].

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Harding, Devon
Sent: Saturday, January 21, 2006 12:17 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] OT: .vbs mailing list?

Is there a VBSript mailing list out there?

-Devon

-----------------------------------------
__________________________________
This message and any attachments are solely for the intended
recipient and may contain confidential or privileged information.
If you are not the intended recipient, any disclosure, copying, use
or distribution of the information included in the message and any
attachments is prohibited.  If you have received this communication
in error, please notify us by reply e-mail and immediately and
permanently delete this message and any attachments.  Thank You.

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to