Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Script to monitor IIS memory consumption and url

$
0
0

I have 2 scripts running to monitor IIS memory consumption using "get-process"  and the IIS web requests using "get-webrequest" at the same time.

I would like to try and combine these 2 commandlets to produce output like

"WorkingSet64",  "url", "verb", "other get-webrequest objects"

I think I need to create either a custom object or store the output of both get-process and get-webrequest in ps variables and then output them with formatting commands?

I am trying to correlate the requests and the resultant memory at the time on the IIS box.

Thanks.

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles