Alexander Huemer wrote:
> I don't have much clue about go, but I think that the content of /proc/cpuinfo
> differ greatly on different architecture. Maybe the output ls `lscpu` is
> better suited for that purpose.

Thanks for the hint. However I wanted to avoid spawning other processes as much
as possible. Is there another way to count the cpu cores just by reading a file
in /proc or maybe /sys?

--Markus

Attachment: signature.asc
Description: Digital signature

Reply via email to