LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 12-08-2012, 09:03 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
How to get Hardware informations from the command line?


Hi!

I'd like to know how to get the hardware informations of a computer (RAM, Processor etc) using the command line.

Thank you.
 
Old 12-08-2012, 09:30 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Code:
free -m
Code:
uname -p
uname -a
Code:
/sbin/lspci -k
Code:
cat /proc/cpuinfo
Markus

Last edited by markush; 12-08-2012 at 09:33 AM.
 
1 members found this post helpful.
Old 12-08-2012, 09:48 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
You seem to run Ubuntu, just install lshw and run it with sudo, all information in one place and it has some nice options, like generating a HTML page with the results.
 
Old 12-08-2012, 12:43 PM   #4
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Tiny Core Linux 4.5.6, knoppix 6.7, antixM8.11, partedmagic, slitaz 3.0,PuppyLinux,Ubuntu 10.04
Posts: 531
Blog Entries: 1

Rep: Reputation: 37
or install "inxi" and run in a terminal the command "inxi -fo -c0 > inxi.txt"
you will have a beautiful summary of the PC.
 
Old 12-08-2012, 12:57 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,540

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
as root you can run

Code:
# dmidecode > DMI
then just vi the DMI file you created to see a lot of detail on the system. I use that in combination with lshw and lspci, you can also use lsusb to isolate just your USB devices.
 
Old 12-10-2012, 06:55 AM   #6
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Thank you for all the answers. It was for an old Suse computer.
 
  


Reply


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
command line hardware analysis Fred Caro Linux - Newbie 3 06-22-2009 05:40 AM
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
command line / hardware question Drissical Linux - Newbie 3 09-25-2004 10:13 PM
configuring video hardware from command line redbeansnrice Linux - Hardware 1 09-02-2004 05:51 PM
Hardware Manipulation From Command Line LouisTheDamned Linux - Newbie 2 03-27-2004 03:42 PM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
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