[Solved] Number of processors \ cores under Linux lazarus / 32-Linux ---------------------------------------------------------------------- devEric69 · 2020-02-11 10:39 Hello, I would like to get the number of processors of a PC running Linux, to limit the maximum number of workers created at the same time, to this number. Under Windows, there is GetSystemInfo. Do you know the equivalent under Linux? Regards. ---------------------------------------------------------------------- Pascal · 2020-02-11 10:41 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i cThreadCount := {$IFDEF UNIX}GetSystemThreadCount{$ELSE}GetCPUCount{$ENDIF}; ---------------------------------------------------------------------- devEric69 · 2020-02-11 10:51 It works. Thank you. ---------------------------------------------------------------------- winni · 2020-02-11 10:54 Quote from: Pascal on February 11, 2020, 11:41:23 amCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i cThreadCount := {$IFDEF UNIX}GetSystemThreadCount{$ELSE}GetCPUCount{$ENDIF}; uses .... utf8process; !!!