Reputation: 133
I need to write a script to configure PERFMON counters on server. I want to write the same in VBS. Please help with some example or reference. I need to configure the below counters
"\Memory\Available MBytes"
"\Memory\Pool Nonpaged Bytes"
"\Memory\Pool Paged Bytes"
"\PhysicalDisk(*)\Current Disk Queue Length"
"\PhysicalDisk(*)\Disk Reads/sec"
"\PhysicalDisk(*)\Disk Reads Bytes/sec"
"\PhysicalDisk(*)\Disk Writes/sec"
"\PhysicalDisk(*)\Disk Writes Bytes/sec"
"\Process(*)\% Processor Time"
"\Process(*)\Private Bytes
"\Process(*)\Virtual Bytes"
Upvotes: 0
Views: 724
Reputation: 133
I followed the below reference and its working good
http://geekswithblogs.net/RobBowman/archive/2009/07/08/scripting-perfmon.aspx
Upvotes: 1