Programmatically Determine CPU Utilization, Processor Count, and Available Processors in MQL4

 

The bulk of the work and discussion on the thread subject was commissioned in an unrelated thread: Get Computer Name in mql4

I am making this thread solely for the purpose of aiding those who would seek similar information via the forum search function.

The code, and solution, is posted in the linked thread, the exact post containing the final solutions cannot be linked here because - ironically enough - the forum's search function is broken right now and I cannot conjure up the hyperlink that goes directly to my post...but I suppose that also means noone can find this thread either with the search function...hrmm...so...oh well, at least I tried. This forum seems to be a pretty good indicator of the stability and flexibility of the platform itself :P :) lol, funny cuz its true.

Reason: