Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aktuellen CPU-Takt anzeigen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Ragin
l33t
l33t


Joined: 14 Apr 2003
Posts: 776

PostPosted: Sat Apr 17, 2004 6:24 pm    Post subject: aktuellen CPU-Takt anzeigen Reply with quote

Hallo,

wie kann man eigentlich den aktuellen CPU-Takt bei einem Notebook mit aktivierten CPUFreq anzeigen lassen?
In /proc/cpuinfo seh ich nur die Leistung und in /proc/cpufreq nur wieviel die CPU minimal und maximal macht und welche Policy gerade gesetzt ist, wobei mich auch hier interessieren würde, wie ich die ändern kann...

Mein Notebook ist ein Compaq Presario 905AE.
_________________
"Innerhalb der Computergemeinschaft lebt man nach der Grundregel, die Gegenwart sei ein Programmfehler, der in der nächsten Ausgabe behoben sein wird."

Clifford Stoll, amerik. Astrophysiker u. Computer- Pionier
Back to top
View user's profile Send private message
Coogee
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 184
Location: E.U.

PostPosted: Sat Apr 17, 2004 6:50 pm    Post subject: Re: aktuellen CPU-Takt anzeigen Reply with quote

Ein cat /proc/cpuinfo zeigt bei mir das:
Code:
bash-2.05b$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Athlon(tm)
stepping        : 0
cpu MHz         : 1804.380
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3563.52


Die Frequenz von 1800 Mhz stimmt genau mit dem überein, was ich im BIOS eingestellt habe.
Back to top
View user's profile Send private message
ossi
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 221
Location: DDR

PostPosted: Sat Apr 17, 2004 6:53 pm    Post subject: Reply with quote

Code:
emerge x86info

und dann
Code:
x86info -mhz
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Sat Apr 17, 2004 9:25 pm    Post subject: Reply with quote

/proc/cpuinfo reicht eigentlich vollkommen.

Mit CPUFreq spielst du, indem du ihm (als root) ProzessorID:TaktInKHz:Policy zuweist. Bei mir sieht das z.B. so aus:
Code:
echo -n "0:532000:powersave" > /proc/cpufreqd

_________________
42
Back to top
View user's profile Send private message
brodo
Guru
Guru


Joined: 15 Apr 2003
Posts: 319

PostPosted: Thu Apr 22, 2004 8:01 pm    Post subject: Re: aktuellen CPU-Takt anzeigen Reply with quote

Ragin wrote:
wie kann man eigentlich den aktuellen CPU-Takt bei einem Notebook mit aktivierten CPUFreq anzeigen lassen?


Oder auf 2.6.7(7 nicht 6) warten, dann als normaler user

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

oder als super-user

cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

Solange der Kernel _nicht_ mit CONFIG_SMP kompiliert ist, sollte beides mit der Angabe in /proc/cpuinfo übereinstimmen.
Back to top
View user's profile Send private message
norc
Guru
Guru


Joined: 22 Apr 2004
Posts: 366
Location: Germany

PostPosted: Fri Apr 23, 2004 11:29 am    Post subject: Reply with quote

ich bin mir nicht sicher aber hilft: top nicht weiter??

norc
Back to top
View user's profile Send private message
Corax
Apprentice
Apprentice


Joined: 14 Apr 2004
Posts: 222
Location: Berlin, Germany

PostPosted: Fri Apr 23, 2004 11:59 am    Post subject: Reply with quote

Nope, top only shows the number of CPUs and detailed information about memory and swap usage. Just tried.
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Mon Apr 26, 2004 9:43 am    Post subject: Reply with quote

Wie wäre es mit:

Code:
cat /proc/sys/cpu/0/speed


?

MfG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum