Skip to content
Snippets Groups Projects
Commit 8028b37c authored by Thibault Debatty's avatar Thibault Debatty
Browse files

(try to) capture the correct number of CPU threads (e.g. 32 instead of 3)

parent c6bd441c
No related branches found
No related tags found
No related merge requests found
Pipeline #19838 passed
......@@ -15,7 +15,7 @@ class ServerInfoFreeBSDCPU extends ServerInfoParser
public function analyzeString(string $string, ServerInfo $info)
{
// count the number of vCores
$REGEX = "/^ Thread Count: (\d+)/m";
$REGEX = "/^\tThread Count: (\d+)$/m";
$count = 0;
$matches = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment