View previous topic :: View next topic |
Author |
Message |
Ragin l33t


Joined: 14 Apr 2003 Posts: 776
|
Posted: Sat Apr 17, 2004 6:24 pm Post subject: aktuellen CPU-Takt anzeigen |
|
|
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 |
|
 |
Coogee Apprentice


Joined: 23 Apr 2002 Posts: 184 Location: E.U.
|
Posted: Sat Apr 17, 2004 6:50 pm Post subject: Re: aktuellen CPU-Takt anzeigen |
|
|
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 |
|
 |
ossi Apprentice


Joined: 11 Apr 2004 Posts: 221 Location: DDR
|
Posted: Sat Apr 17, 2004 6:53 pm Post subject: |
|
|
und dann
|
|
Back to top |
|
 |
Sas Veteran


Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Sat Apr 17, 2004 9:25 pm Post subject: |
|
|
/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 |
|
 |
brodo Guru

Joined: 15 Apr 2003 Posts: 319
|
Posted: Thu Apr 22, 2004 8:01 pm Post subject: Re: aktuellen CPU-Takt anzeigen |
|
|
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 |
|
 |
norc Guru


Joined: 22 Apr 2004 Posts: 366 Location: Germany
|
Posted: Fri Apr 23, 2004 11:29 am Post subject: |
|
|
ich bin mir nicht sicher aber hilft: top nicht weiter??
norc |
|
Back to top |
|
 |
Corax Apprentice


Joined: 14 Apr 2004 Posts: 222 Location: Berlin, Germany
|
Posted: Fri Apr 23, 2004 11:59 am Post subject: |
|
|
Nope, top only shows the number of CPUs and detailed information about memory and swap usage. Just tried. |
|
Back to top |
|
 |
py-ro Veteran


Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Mon Apr 26, 2004 9:43 am Post subject: |
|
|
Wie wäre es mit:
Code: | cat /proc/sys/cpu/0/speed |
?
MfG |
|
Back to top |
|
 |
|