Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-29-2008, 01:18 PM
|
#1
|
|
Member
Registered: Apr 2008
Posts: 267
Rep:
|
BIOS settings for processor? Command to get processor speed?? Memory speed?
Linux newbie. Have Award BIOS, AMD Sempron processor, and want to find out right setting to use for BIOS. The BIOS options allow you to choose:
"CPU Overclock Mhz" 200-250
"AGP Overclock Mhz" 66 -100
"AGP 2.0 Speed" 1,1x2,1x2x4
"HT Frequency" 1,2,3,4
After I can get Linux to boot up, how can I use the command line to get the clock speed that the processor is running at (not the name of the processor, but the speed that the BIOS set it to run at?)?
How can I get the speed of the memory from the commnad line?
I know that there was this command that I could use to test the write speed to the harddrive, but what about the processor and the memory?
Last edited by newtovanilla; 11-29-2008 at 01:19 PM.
|
|
|
|
11-30-2008, 06:54 AM
|
#2
|
|
Member
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435
Rep:
|
For the cpu:
cat /proc/cpuinfo
For memory:
dmidecode
|
|
|
|
11-30-2008, 06:58 AM
|
#3
|
|
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,337
Rep:
|
Hya,
If I understand your post,
cpu info can be obtained under /sys directory.
Happy Penguins!
|
|
|
|
12-04-2008, 05:17 PM
|
#4
|
|
Member
Registered: Apr 2008
Posts: 267
Original Poster
Rep:
|
> more /proc/cpuinfo
Gave some information on the cpu, but it did not time the cpu to tell me how fast it is running. Doesn't it just tell you what it reads from the cpu?
> ls /sys
There are directories there, but how does that get me cpu speed or memory speed?
# dmidecode
Gave information on the memory size, bank, but it did not give the speed of the memory? How can I time the memory to find the speed per bank?
|
|
|
|
12-04-2008, 05:51 PM
|
#5
|
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,726
Rep: 
|
see www.makelinux.net for more info on /proc
plenty of GUI indicators are available  istro?
man dmidecode
try phoronix test suite
|
|
|
|
12-04-2008, 06:19 PM
|
#6
|
|
Member
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435
Rep:
|
/proc/cpuinfo gives the clock speed of your CPU(s) at that moment. In the case below, that's 1596 MHz.
Code:
jcliburn@osprey:~$ grep Hz /proc/cpuinfo
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
cpu MHz : 1596.000
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
cpu MHz : 1596.000
dmidecode gives memory speed.
Code:
jcliburn@osprey:~$ sudo /usr/sbin/dmidecode -t memory | grep -i speed
Supported Speeds:
Current Speed: 30 ns
Current Speed: 30 ns
Speed: 333 MHz (3.0 ns)
Speed: 333 MHz (3.0 ns)
|
|
|
|
12-04-2008, 07:40 PM
|
#7
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
in addition to dmidecode you can use lshw to get a nicely formated output of the information and a bit more.
lshw -C processor
lshw -C memory
phoronix test suite for the benchmarking.. http://www.phoronix-test-suite.com/
|
|
|
|
12-04-2008, 08:24 PM
|
#8
|
|
Member
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435
Rep:
|
Quote:
Originally Posted by farslayer
in addition to dmidecode you can use lshw to get a nicely formated output of the information and a bit more.
lshw -C processor
lshw -C memory
|
Indeed. I wasn't aware lshw was packaged for Fedora, but it is.
yum install lshw.
Thanks for the tip.
|
|
|
|
12-04-2008, 08:28 PM
|
#9
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
after getting used to the number of packages in Debians repository, I rarely ever think a package wont be available...
I sometimes forget everyone doesn't have it quite so easy 
|
|
|
|
12-04-2008, 09:23 PM
|
#10
|
|
Member
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370
Rep:
|
Most modern BIOS auto detect memory and CPU operating speeds. See if you have an Auto setting in BIOS and use that.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:56 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|