Monitor CPU time on Server 2008 with powershell


looking help. need monitor cpu time in real time on server 2008 box remotely particular process. if cpu time has not changed process stop process. use powershell cannot find correct commands like. hoping in community offer help.

hi,

you can try get-conter:

get-counter -counter "\\computername\process(processname)\% user time" -sampleinterval 2 -maxsamples 100

for more information:
http://technet.microsoft.com/en-us/magazine/ee872428.aspx

thanks.


this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file