On 04/21/15 11:24, Walter Dnes wrote:
> On Tue, Apr 21, 2015 at 06:42:35AM -0400, Alec Ten Harmsel wrote
>> for core in `ls /sys/devices/system/cpu/ | egrep "cpu[0-9]+"`
>>
>> This works great on my desktop with 12 cores.
>   Can you please check whether Emanuele's solution works on your system?
>
> for core in /sys/devices/system/cpu/cpu[0-9]*/
>
>   I prefer simpler solutions.
>

That does work. I tested it this morning and it didn't work, but forgot
that I'm using zsh. Works fine with bash.

Alec

Reply via email to