LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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



Reply
 
Search this Thread
Old 02-21-2008, 08:23 AM   #1
milkteeth
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Rep: Reputation: 0
command for system info/specs


Hi!
can someone kindly tell me how can i see the specs of my systemhardware?!
like... how many/what kind of processors, harddisks,memory etc i have.

I have tried

/sbin/lspci
dmidecode
lspci -vv

but still i don't get all the info about my hardware !

could someone kindly help me out with this!
thanks a lot!

PS: i am using centos4

Last edited by milkteeth; 02-21-2008 at 08:33 AM.
 
Old 02-21-2008, 08:28 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Code:
cat /proc/cpuinfo /proc/meminfo
df -h
lshw
lshw may not be installed by default on your distribution; check your package manager.
 
Old 02-21-2008, 08:58 AM   #3
milkteeth
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pwc101 View Post
Code:
cat /proc/cpuinfo /proc/meminfo
df -h
lshw
lshw may not be installed by default on your distribution; check your package manager.
thanks for reply!

lshw doesn't work indeed.
and with /proc/meminfo i don;t get to see how many modules of 1GB(or 512 mb) have been installed.
what i can't get to see anywhere is the info about the harddisks.
how many are there and what size.

any ideas?!
 
Old 02-21-2008, 09:20 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
For hard drives, fdisk -l will show you partition and disk structure (you should need to be root to run it).

What you're really looking for is what lshw outputs. Have you tried installing it?
 
Old 02-21-2008, 09:48 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Take a look at hwinfo and lshw. They are not usually installed by default, so you may have to install them from your distros software repositories or compile from source. If you need a GUI app try hardinfo.
 
Old 02-21-2008, 10:11 AM   #6
milkteeth
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz View Post
Take a look at hwinfo and lshw. They are not usually installed by default, so you may have to install them from your distros software repositories or compile from source. If you need a GUI app try hardinfo.
thanks a lot for the info.
very handy though.
but i am looking for linux commands that can give me info like Sysinfo gives! I gues there would be seperate commands(or a script) to get to know this info?!




H A R D W A R E I N F O R M A T I O N

bios0 is a "Award Software, Inc. ASUS P3B-F ACPI BIOS Revision 1002" system BIOS
sysboard0 is a "ASUSTeK Computer INC. P3B-F" system board
enclosure0 is a "Tower" enclosure
cpu0 is a "Intel Pentium III (Katmai)" CPU 450 MHz processor
memctl0 is a memory controller
memory0 is a "Synchronous DRAM" empty memory
memory1 is a "Synchronous DRAM" 128 MB memory
memory2 is a "Synchronous DRAM" empty memory
memory3 is a "Synchronous DRAM" empty memory
ide0 is a ATA/IDE PRIMARY IDE/HDD controller
ide1 is a ATA/IDE SECONDARY IDE/HDD controller
fd0 is a "1.44MB 3.5-inch" floppy disk drive
usb0 is a "USB UHCI Root Hub" USB 12 Mb/s serial device
usb1 is a USB serial device
kbd0 is a PS/2 Keybaord Keyboard
mouse0 is a PS/2 Mouse pointer
parallel0 is a Parallel Port ECP/EPP parallel device
com0 is a Serial Port 16550A Compatable serial device
com1 is a Serial Port 16550A Compatable serial device
slot0 is a PCI system bus
slot1 is a PCI system bus
slot2 is a PCI system bus
slot3 is a PCI system bus
slot4 is a PCI system bus
slot5 is a PCI system bus
slot6 is a AGP 2X system bus
slot7 is a ISA system bus
memarray0 is a memory controller
pci0 is a PCI system bus
pci0/0/0 is a "Intel Corporation 440BX - 82443BX Host<->PCI" bus bridge
pci0/1/0 is a "Intel Corporation 440BX - 82443BX Host<->AGP" PCI bus bridge
pci0/4/0 is a "Intel Corporation 82371AB ACPI Power Management" ISA bus bridge
hda is a "QUANTUM FIREBALL CR8.4A" ATA/IDE Ultra ATA/66 7.9 GB 66 MB/s disk drive
hdc is a "DVD-ROM BDV212B" ATA/IDE CD drive
pci0/9/0 is a "NVidia Riva TNT" VGA 4 MB frame buffer
pci0/10/0 is a "Ensoniq ES1371 [AudioPCI-97]" audio device
pci0/11/0 is a "Adaptec 2940AU (AIC-7861) Ultra" SCSI controller
sda (sg0) is a "SEAGATE ST19171W SUN9.0G" SCSI 8.4 GB disk drive
pci0/12/0 is a "Adaptec 29160 Ultra 160" SCSI controller
scd0 (sg1) is a "TOSHIBA CD-ROM XM-6401TA" SCSI CD drive
sdb (sg2) is a "IBM DDYS-T09170N" SCSI 8.5 GB disk drive
eth0 (pci0/13/0) is a "3Com Corporation 3C905 Fast Etherlink XL" Fast Ethernet 100 Mb/s network interface
psmouse is a "PS/2" pointer
TOTAL DISK CAPACITY IS 25 GB
 
Old 02-21-2008, 10:30 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
I don't know what "sysinfo" is, but a quick google for "sysinfo" showed this script:

http://www.pixelbeat.org/scripts/sysinfo

I presume it's not what you meant, but it's something nevertheless. It seems to just run most of the commands we've suggested, except for lshw and hwinfo.
 
Old 02-21-2008, 11:08 AM   #8
milkteeth
LQ Newbie
 
Registered: Dec 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pwc101 View Post
I don't know what "sysinfo" is, but a quick google for "sysinfo" showed this script:

http://www.pixelbeat.org/scripts/sysinfo

I presume it's not what you meant, but it's something nevertheless. It seems to just run most of the commands we've suggested, except for lshw and hwinfo.
thanks a lot once again!
its not exactly what i meant but its good enough.
i have also found a similar kind of script at:
http://www.dslreports.com/forum/rema...xdsl~mode=flat

thanks for your help!
 
  


Reply

Tags
hardware, info


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out if my system is i386, i486, or i586? Is there a system info command? mlsbraves Linux - General 6 02-17-2009 05:08 PM
Command to get system specs markdjones82 Linux - Hardware 3 11-29-2007 12:30 PM
Is command to view system specs? 449 Linux - Newbie 2 11-29-2007 06:34 AM
System info command downinthemine Linux - Software 3 11-29-2003 01:30 PM
Command to show OS and system specs? AMDPwred Linux - General 2 10-25-2002 12:48 PM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration