Install Windows Management Framework and do it with PowerShell? :)

DAMIEN SOLODOW
Systems Engineer
317.447.6033 (office)
317.447.6014 (fax)
HARRISON COLLEGE

From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Monday, September 09, 2013 2:32 PM
To: [email protected]
Subject: [powershell] looking for a way to pull top 5 processes (cpu 
utilization) reliably.

I can't seem to find a good way.
These are 2003r2 machines (citrix servers...)

It seems like the only way is going to be through wmi, since get-process tells 
me total cpu time since the process started (totally unhelpful)

'Win32_PerfFormattedData_PerfProc_Process where percentProcessorTime' seems to 
return intermittent results. I fired up firefox playing a html5 video on my 
test server (in task manager its using 40% of the cpu) but it doesn't show up 
on the perfdata list.

Anyone got idea's?

Christopher Catlett
Consultant | Detroit
[MCTS_2013_small]

Sogeti USA
Office 248-876-9738 |Fax 877.406.9647
26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456
www.us.sogeti.com<http://www.us.sogeti.com/>


================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1


================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1

<<inline: image001.jpg>>

Reply via email to