amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
3.2k stars 440 forks source link

Inconsistent information between background | processes and task manager #845

Open silversword411 opened 2 years ago

silversword411 commented 2 years ago

Comparing background | processes and task manager on a computer doesn't seem to show the same results.

See https://discord.com/channels/736478043522072608/744282073870630912/917994835137413150

wh1te909 commented 2 years ago

https://github.com/shirou/gopsutil/issues/765 https://github.com/shirou/gopsutil/issues/732

silversword411 commented 2 years ago

? https://stackoverflow.com/questions/22195277/get-the-cpu-usage-of-each-process-from-wmi https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/WMI/User~Sample~Code+Get~CPU~Usage~of~a~Process.txt

wh1te909 commented 2 years ago

using wmi is very slow was trying to avoid that but will look into it