Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Questions about cpu frequency utils scripting
Date: Tue, 21 Apr 2015 15:25:24
Message-Id: 20150421152452.GA12573@waltdnes.org
In Reply to: Re: [gentoo-user] Questions about cpu frequency utils scripting by Alec Ten Harmsel
1 On Tue, Apr 21, 2015 at 06:42:35AM -0400, Alec Ten Harmsel wrote
2 >
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
7 Can you please check whether Emanuele's solution works on your system?
8
9 for core in /sys/devices/system/cpu/cpu[0-9]*/
10
11 I prefer simpler solutions.
12
13 --
14 Walter Dnes <waltdnes@××××××××.org>
15 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Questions about cpu frequency utils scripting Alec Ten Harmsel <alec@××××××××××××××.com>