Computing.Net > Forums > Windows 2000 > Start perfmon from batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Start perfmon from batch file

Reply to Message Icon

Name: metaledge
Date: April 25, 2007 at 08:15:38 Pacific
OS: Windows 2000
CPU/Ram: Xeon
Product: IBM
Comment:

I have a number of permon counters defined as HTML files and would like to know if there is an easy way to simply start these counters from a batch file/command line. I am sure perfmon.exe takes command line parameters but have had no luck with them.

Thanks in advance




Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: April 25, 2007 at 13:29:51 Pacific
Reply:

Why not, setup the counters you want, save it onto your desktop (File >> save As) with whatever name you want. Say you wanted an instance that monitors different aspects of your NIC. Create it, save it as something like "Perf_Nick.msc". Then all you have to do is start it and it's up and running with the counters you selected.

If you really need to run it from a batchfile, then create a batchfile that calls the instance of perfmon you created.


0

Response Number 2
Name: metaledge
Date: April 25, 2007 at 13:41:09 Pacific
Reply:

Thanks, thats actually what I ended up doing, but the counters won't start until you manually click the 'play' button. I was looking for a completely hands off approach.


0

Response Number 3
Name: Curt R
Date: April 26, 2007 at 15:24:42 Pacific
Reply:

Hmmm...I've never tried to automate it like that so I can't say whether or not it can be done. Sorry!

Maybe with a bit of luck someone else who has will see this and respond.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


How to add DHCP SVR to W... Microsoft Outlook 2000 no...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Start perfmon from batch file

Need to read a text file from a batch file www.computing.net/answers/windows-2000/need-to-read-a-text-file-from-a-batch-file/65828.html

Batch File required www.computing.net/answers/windows-2000/batch-file-required/63279.html

Win2k Start-up Batch file www.computing.net/answers/windows-2000/win2k-startup-batch-file/9888.html