Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-02-2007, 02:04 PM
|
#1
|
Member
Registered: Feb 2007
Posts: 80
Rep:
|
how to check system specifications?
Hello,
Are there commands in linux to check the specifications of a computer such as;
- CPU type (AMD, Pentium, 32/64bit), support, such as max cycles/frequency, etc.
- RAM support, max capacity, spec such as PC100/PC133/etc.
etc.
I tried dmidecode, but it says:
bash: dmidecode: command not found
Any idea?
|
|
|
03-02-2007, 02:13 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Take a look at this thread.
|
|
|
03-02-2007, 02:16 PM
|
#3
|
Member
Registered: Jan 2006
Distribution: Debian
Posts: 90
Rep:
|
try dmidecode as root, also look in the /proc directory it contains all the system info for example, as root:
cat /proc/cpuinfo
gives me the following:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 9
model name : Intel(R) Pentium(R) M processor 1500MHz
stepping : 5
cpu MHz : 600.000
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe est tm2
bogomips : 1195.31
clflush size : 64
its all in /proc
Cheers
Chris.
|
|
|
03-03-2007, 12:24 AM
|
#4
|
Member
Registered: Feb 2007
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by reddazz
|
When I run this command (or some other commnads, such as ifconfig), it says: bash: thread: cannot found
I tried ./thread, but same thing happens.
Any idea what might be wrong?
|
|
|
03-03-2007, 11:00 AM
|
#5
|
Member
Registered: Jan 2006
Distribution: Debian
Posts: 90
Rep:
|
Quote:
Originally Posted by linux_2007_
When I run this command (or some other commnads, such as ifconfig), it says: bash: thread: cannot found
I tried ./thread, but same thing happens.
Any idea what might be wrong?
|
Hey,
ifconfig has to be run as root, you can become root in a terminal either by:
su
and then entering the root password, you will be root in that terminal though until you close it or exit. Or you could set up a program like sudo or fakeroot so when you want to run a root only command you prefix it with sudo. i.e.
sudo ifconfig
I'm not sure why you trying to run the thread command - I don't think it is a command, it isn't a command on my system. reddazz was pointing you in the direction of other forum postings.
The ./ prefix makes bash look in the current directory your in for the executable file, for example if I wanted to run an exe program that was in my current directory I would enter:
./exe_program_name
Hope that makes sense,
Chris.
|
|
|
02-06-2009, 05:54 AM
|
#6
|
LQ Newbie
Registered: Jan 2009
Posts: 1
Rep:
|
I had a same problem.
I tried dmidecode on other than root account it says
command not found.
In terminal I run dmidecode with su still i got command not found.
Then i tried the following and it works for me.
su
password:
/usr/sbin/dmidecode and it works fine for me.
|
|
|
02-06-2009, 09:01 AM
|
#7
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
I prefer the output of lshw to that of dmidecode.
lshw takes the info from dmidecode and several other sources puts it all togethert and formatis it a bit nicer, so it is easier to read.
lshw will most likely not be installed on your distro by default, but it should be readily available in it's repository..
NO matter which tol you use (lshw, dmidecode, cat /proc/cpuinfo) having a list of the CPU feature flags handy to decode the CPU capabilities is pretty handy..
Code:
it-lenny:~# lshw -C processor
*-cpu
description: CPU
product: Intel(R) Pentium(R) D CPU 2.80GHz
vendor: Intel Corp.
physical id: 400
bus info: cpu@0
version: 15.4.7
serial: 0000-0F47-0000-0000-0000-0000
slot: Microprocessor
size: 2800MHz
width: 64 bits
clock: 800MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm
configuration: id=0
*-logicalcpu:0
description: Logical CPU
physical id: 0.1
width: 64 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 0.2
width: 64 bits
capabilities: logical
Code:
it-lenny:~# lshw -C memory
*-memory
description: System Memory
physical id: 1000
slot: System board or motherboard
size: 1GiB
capacity: 2GiB
*-bank:0
description: DIMM DDR Synchronous 533 MHz (1.9 ns)
product: KHU006-QIA
vendor: 7F98000000000000
physical id: 0
serial: A036F583
slot: DIMM_1
size: 1GiB
width: 64 bits
clock: 533MHz (1.9ns)
*-bank:1
description: DIMM DDR Synchronous 533 MHz (1.9 ns) [empty]
vendor: FFFFFFFFFFFFFFFF
physical id: 1
serial: FFFFFFFF
slot: DIMM_3
width: 64 bits
clock: 533MHz (1.9ns)
Last edited by farslayer; 02-06-2009 at 09:03 AM.
|
|
|
All times are GMT -5. The time now is 09:36 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
|
|