get_cpu_info/1 is an Erlang function exported by "sysmon" module. Returns a list of records {cpu, Fields} with detailed information for each system CPU. The first record from this list is named "cpu" and contains the average values of all CPUs detected on the current node. Important notice: Please take into consideration that this function currently returns only one record regardless how many CPUs are detected. This behavior is due to some OS-specific issues that prevent to equalize the API between Linux and Windows. However, in future releases this behavior shall be fixed! |
|
|