« Job Offer: Xojo Devel… | Home | MBS Xojo Plugins, ver… »

Windows Task Monitor written in Xojo

Today I had an interesting request for a task monitor written in Xojo to see how much CPU some processes need and to report when they are stuck (no CPU usage over longer time pointing to deadlock) or run at 100% for a long time. And of course to see if they go away due to crashes.

We use the WindowsWMIMBS class to query the Win32_PerfRawData_PerfProc_Process class. There we can query the current counter for processor usage and by getting total and last value calculate a percentage.

The example will be included in next prerelease.
03 06 17 - 11:45
No comments

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.