Application logman.exe

Hi!

Which application that read the files "perflog.log", "processlog.log", "seclog.log" generated by logman.exe?

Thanks,
Tchelo
Please post more informations about the files mentioned
Hi,

I need to collect information cpu% process especific.
Which sintaxe command?

Thanks,
Is this one of those XY problems? Do you want real-time, process-specific CPU % information for your C++ program?

Then ignore perfmon/logman. Use an actual Windows API call meant for it.

Disclaimer: I have not tried this myself, but I think it's what you want

System CPU: https://stackoverflow.com/questions/23143693/retrieving-cpu-load-percent-total-in-windows-with-c
Process CPU: https://stackoverflow.com/questions/10844631/how-can-i-get-windows-data-like-cpu-usage-etc

I suggest reading both links.

Also, a code example from MSDN that might be of interest
https://code.msdn.microsoft.com/windowsdesktop/Use-PerformanceCounter-to-272d57a1
Last edited on
Topic archived. No new replies allowed.