![]() ![]() |
Jan 18 2010, 12:19 PM
Post
#1
|
|
|
Message Mogul ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 293 Joined: 23-May 03 Member No.: 1,223 |
Hello all. Is it possible to setup Performance Monitor so that you can save the data it produces and look at it at a later time? I'm not talking about a snapshot or point in time, which I know I can do, but instead a full historical view of what went down (of what the counters produced) through the entire use of the monitor. So let's say I run the monitor on certain objects\counters for 8 hours. Can I save that data and review it at a later date and literally see everything that occured with those objects\counters for that 8 hours?
|
|
|
|
Jan 18 2010, 03:22 PM
Post
#2
|
|
![]() The Assimilator Group: Forum MVP Posts: 7,308 Joined: 7-April 03 From: far reaches of the known galaxy (but you knew that...) Member No.: 783 |
yes.
start, admin tools, perf monitor. (of course.) expand the perf logs and alerts. click counter logs. action, new log settings (type in a name, in this example we'll call it cpu.) ok. on the general tab there are 2 buttons, --- add objects - dumps the whole class of items to be tracked. prolly do not want that. --- add counters - click that, please. as we called this one cpu, choose performance object: processor. on the right column, for now, leave the _total selected. on the left column: leave (o) select counters from list selected choose these for example: - to choose, highlight the item, click add; repeat. % dpc time % idle time % interrupt time % processor time % user time close on the log files tab choose log file type, comma delimited click on configure type in a path to where you want the file to live there's the file name you entered earlier, cpu log file size, limit, 2mb on the schedule tab start log (o) at - whatever time is in the blanks, it will start when you are done setting up. stop log (o) when the 2-mb log file is full when a log file closes: [x] start a new log file. ok notice in the mmc, on the right, a green icon w/ cpu. it's running! go to the file location you specified in a few minutes and your file will be growing. when the 2mb limit is reached, a new file, cpu00002.csv or such will be created. you can evaluate your results in ms excel or open office. create a counter for each of memory, hard drive, cpu, server work queues, nic, whatever... if you do one for ras, watch out! it fills up quickly. -------------------- Linux Registered User #433481
Linux Registered Machine #361669, 413748 & 413749 ------------------------------------------------------------------ ~ debian ~ ubuntu ~ pclinuxos ~ tiny flux ~ xp ~ opera ~ firefox ~ keyboard ~ mouse ~ color monitor ~ |
|
|
|
Jan 18 2010, 10:18 PM
Post
#3
|
|
|
Message Mogul ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 293 Joined: 23-May 03 Member No.: 1,223 |
Wow, thanks for the info. I'll use this to setup some logs. Thanks.
|
|
|
|
Jan 18 2010, 10:23 PM
Post
#4
|
|
|
Message Mogul ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 293 Joined: 23-May 03 Member No.: 1,223 |
Oh yeah, one more question. I'm assuming perfmon needs to continue running in order to log the data. In other words I shouldn't click the close button at the top right of perfmon...
|
|
|
|
Jan 19 2010, 03:36 AM
Post
#5
|
|
![]() The Assimilator Group: Forum MVP Posts: 7,308 Joined: 7-April 03 From: far reaches of the known galaxy (but you knew that...) Member No.: 783 |
you're welcome.
you can close the microsoft management console (mmc) for perfmon, they will continue to run. -------------------- Linux Registered User #433481
Linux Registered Machine #361669, 413748 & 413749 ------------------------------------------------------------------ ~ debian ~ ubuntu ~ pclinuxos ~ tiny flux ~ xp ~ opera ~ firefox ~ keyboard ~ mouse ~ color monitor ~ |
|
|
|
Jan 19 2010, 09:47 AM
Post
#6
|
|
|
Message Mogul ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 293 Joined: 23-May 03 Member No.: 1,223 |
Thanks again for the info. I really appreciate it.
|
|
|
|
Jan 19 2010, 11:00 AM
Post
#7
|
|
![]() The Assimilator Group: Forum MVP Posts: 7,308 Joined: 7-April 03 From: far reaches of the known galaxy (but you knew that...) Member No.: 783 |
any time!
you are certainly welcome. -------------------- Linux Registered User #433481
Linux Registered Machine #361669, 413748 & 413749 ------------------------------------------------------------------ ~ debian ~ ubuntu ~ pclinuxos ~ tiny flux ~ xp ~ opera ~ firefox ~ keyboard ~ mouse ~ color monitor ~ |
|
|
|
Jan 20 2010, 09:24 AM
Post
#8
|
|
|
Message Mogul ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 270 Joined: 28-July 08 Member No.: 16,065 |
Hi Guys,
Very interesting question and a great answer.. I wonder if a similar thing can be done for say XP or Vista? That could be a great help in troubleshooting a difficult problem? jolphil |
|
|
|
Jan 21 2010, 05:29 PM
Post
#9
|
|
![]() The Assimilator Group: Forum MVP Posts: 7,308 Joined: 7-April 03 From: far reaches of the known galaxy (but you knew that...) Member No.: 783 |
for xp & vista:
r click on start properties start menu tab properties button (scroll down to the bottom) under administrative tools, select one of: display on the all programs menu display on the all programs menu and start menu ok for xp - then follow the steps above. for both xp and vista start, run, perfmon you'll have to fiddle around with vista, it looks different from xp. -------------------- Linux Registered User #433481
Linux Registered Machine #361669, 413748 & 413749 ------------------------------------------------------------------ ~ debian ~ ubuntu ~ pclinuxos ~ tiny flux ~ xp ~ opera ~ firefox ~ keyboard ~ mouse ~ color monitor ~ |
|
|
|
Jan 24 2010, 09:42 AM
Post
#10
|
|
|
Message Mogul ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 270 Joined: 28-July 08 Member No.: 16,065 |
for xp & vista: r click on start properties start menu tab properties button (scroll down to the bottom) under administrative tools, select one of: display on the all programs menu display on the all programs menu and start menu ok for xp - then follow the steps above. for both xp and vista start, run, perfmon you'll have to fiddle around with vista, it looks different from xp. Thanks for the info..I will try it out... jolphil |
|
|
|
Jan 26 2010, 07:25 PM
Post
#11
|
|
![]() The Assimilator Group: Forum MVP Posts: 7,308 Joined: 7-April 03 From: far reaches of the known galaxy (but you knew that...) Member No.: 783 |
cool!
-------------------- Linux Registered User #433481
Linux Registered Machine #361669, 413748 & 413749 ------------------------------------------------------------------ ~ debian ~ ubuntu ~ pclinuxos ~ tiny flux ~ xp ~ opera ~ firefox ~ keyboard ~ mouse ~ color monitor ~ |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 2nd September 2010 - 09:38 PM |