Woomera Posted January 28, 2006 Posted January 28, 2006 ok i wanna make a log file of an specified process in an x intervals to see how much cpu percentage it use.i tried performance monitor of admin tools but no counter for that.any idea? even a third party software?thanks
Mr Snrub Posted January 28, 2006 Posted January 28, 2006 Launch the process you want to monitorLaunch PerfmonLeft-hand pane, expand Performance Logs and Alerts, select Counter LogsRight-click in right-hand pane, select New Log Settings & give it a nameClick Add CountersSelect Performance object: ProcessMake your select of counter(s) & instance(s) - your process should be listed as an instanceHint: Even if I want information on a specific process, I tend to select All counters and All instances, then just filter when I come to review the informationClick Add, then CloseSet your sample interval to suit (default is 1 per 15 seconds)Click OK (and again if you get prompted that the folder you specified for the log does not exist)When you want to start monitoring the process, right-click on the counter log and select Start (and later repeat but select Stop when you are ready to stop logging).When you come to review the data, launch Perfmon and right-click on the graph then select PropertiesGo to the Source tab and select Log files, then click AddBrowse to your .BLG file and add it, then click ApplySelect the Data tab and click Add - now you should only see all the processes that were running when you logged the data - find the instance(s) and counter(s) that are interesting and click Add for each, then CloseClick OK and you should see the logged information about the counter(s) selected - the default Y-axis is 0-100 so should work perfectly for percentage counters (for others you can manually the scale of the counter to make it fit, or the scale of the graph itself).Hint: If you have multiple counters visible, use CTRL-H to highlight the selected one
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now