Batch File: IIS7 : List sites process CPU load

Hi there,

I need to make a batch file that list all IIS7 sites process CPU load.

EXPECTED OUTPUT:
"SITE","PROCESS ID","CPU LOAD"
"site1","1345","38"
"site2","5623","78"

Thanks for your help,
Rene
LVL 10
ReneGeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bbaoIT ConsultantCommented:
try ProcDump v4.01 (procdump.exe), combining with the FIND (find.exe) it may allow you to filter the output for listing specific process names.

ProcDump v4.01
http://technet.microsoft.com/en-us/sysinternals/dd996900
0
ReneGeAuthor Commented:
Sorry bbao for taking so long to reply.
I'll followup shortly.
Cheers
0
ReneGeAuthor Commented:
@bbao

I'v played arround with procdump and still did not figure out how to use it to do what I need.

Hoping you are familiar with procdump. Would you mind scripting the batch file?

Thanks and cheers,
Rene
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

e_aravindCommented:
IMO, Instead of follow-up the web-sites...you can concentrate on the worker-process\app. pool

View a List of Worker Processes (IIS 7)
http://technet.microsoft.com/en-us/library/cc771273(WS.10).aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ReneGeAuthor Commented:
@e_aravind:
I'v looked arround and still did find the required command line.
Would you by any chance, have the required command line?

Thanks
0
e_aravindCommented:
The link i pasted is an option to read the CPU values in the GUI (console)
Note sure how to export the same.


The closest thing i got is, appcmd, but mostly to read\modify the config files...nothing for the real-time monitoring.
http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe/
0
ReneGeAuthor Commented:
@e_aravind:
Sorry for the late response. I'll look at it next week.
Happy new year ;)
0
ReneGeAuthor Commented:
Sorry for the late reply.
Thanks for your help :)

Cheers,
Rene
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.