Where-Object Name -contains check_mk_agent.exe |
Select-Object ProcessID, Name, Path, UserModeTime, KernelModeTime |
Format-Table -AutoSize
ProcessID Name Path UserModeTime KernelModeTime
--------- ---- ---- ------------ --------------
3216 check_mk_agent.exe 166250000 210625000
tasklist /v /fi "imagename eq check_mk_agent.exe"
Image Name PID Session Name Session# Mem Usage Status User Name CPU Time Window Title
========================= ======== ================ =========== ============ =============== ================================================== ============ ============
============================================================
check_mk_agent.exe 3216 Services 0 8.108 K Unknown N/A 0:00:37 N/A
(166250000+210625000)/10000000 = 37.6875