Re: [dev] golang dwm status

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Thu, 13 Mar 2014 20:50:38 +0100

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

Received on Thu Mar 13 2014 - 20:50:38 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 13 2014 - 21:00:06 CET