1 |
On 04/21/15 11:24, Walter Dnes wrote: |
2 |
> On Tue, Apr 21, 2015 at 06:42:35AM -0400, Alec Ten Harmsel wrote |
3 |
>> for core in `ls /sys/devices/system/cpu/ | egrep "cpu[0-9]+"` |
4 |
>> |
5 |
>> This works great on my desktop with 12 cores. |
6 |
> Can you please check whether Emanuele's solution works on your system? |
7 |
> |
8 |
> for core in /sys/devices/system/cpu/cpu[0-9]*/ |
9 |
> |
10 |
> I prefer simpler solutions. |
11 |
> |
12 |
|
13 |
That does work. I tested it this morning and it didn't work, but forgot |
14 |
that I'm using zsh. Works fine with bash. |
15 |
|
16 |
Alec |