winsiderss / systeminformer

A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware. Brought to you by Winsider Seminars & Solutions, Inc. @ http://www.windows-internals.com
https://systeminformer.sourceforge.io
MIT License
10.53k stars 1.36k forks source link

Capture process information regularly and write it to a file #2070

Open pedoc opened 1 month ago

pedoc commented 1 month ago

Description of the feature, modification, idea or suggestion

Recently, we monitored through the cloud console that the Windows virtual machine had insufficient memory. This caused the entire system of the virtual machine to be unable to run normally, and remote desktop login could not be used, making it impossible to locate the specific memory leak process.

Therefore, if we can regularly write the information displayed in the current process list to a file, then when there is insufficient memory in the distribution, we can check the memory usage of the log tracking process, thereby locating the process where the memory leak occurs.

At present, we can only program it ourselves, but obviously the information we collect is not as rich as SI, so if we can directly write the information collected by SI to a file regularly, it will be extremely useful.

thanks

Proposed implementation details (optional)

Maybe it can be implemented as a ui feature, but it will be a lot of work.

Or we can let SI expose some capabilities through cli commands?