• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Batch file to output performance data from Task Manager

TechnoPro

Golden Member
Simply put, there are metrics presented in the Performance tab of the Windows XP Task Manager that I would like to record. Specifically, I need Total Physical Memory, Total Commit Charge, and Peak Commit Charge.

A log is not required, since I just require the 3 numbers as a snapshot in time, and not a whole history. I can use the MEM command to output the Total Physical Memory, but the other 2 variables are eluding me.

Any ideas?
 
Task Manager, and Performance Monitor, get their information from the WMI. Actually, that may not be correct. PM definitely does. TM may go a layer down. But in any case the WMI objects are easily scriptable in VB, and shell script. So you can write a simple script that will open up the correct objects and simply poll them and log them out every so often. Here is a link to an article on scripting the WMI objects.
 
Back
Top