Operating System - Linux
1752557 Members
4274 Online
108788 Solutions
New Discussion юеВ

Re: get hardware info under linux

 
SOLVED
Go to solution
'chris'
Super Advisor

get hardware info under linux

hi

howto to get all hardware info from command line or using GUI
about mainboard, bios version, graphic card etc. under linux ?

kind regards
chris
7 REPLIES 7
Rajeev  Shukla
Honored Contributor
Solution

Re: get hardware info under linux

You'll get all the hardware information of your machine in Linux from the directory in /proc

You can cat the appropiate file in /proc like cpuinfo, pci etc.. that will list all the recognized hardware info of the server

Using GUI there is a option called Hardware Browser under system i guess. That will show all the H/W info in GUI
Senthil Prabu.S_1
Trusted Contributor

Re: get hardware info under linux

Hi,
there are many ways to do this.
"hwinfo" command can be used to get a list of hardware configured in your linux machine.

hwstatus shows the current status of hardware.


P.S:
These commands looks on Suse-linux.I dont know about other distros.


HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Muthukumar_5
Honored Contributor

Re: get hardware info under linux

Lots of open source projects available as,

http://freshmeat.net/search/?q=hardware+information&section=projects&Go.x=0&Go.y=0

More suitable one:

http://freshmeat.net/projects/lshw/

--
Muthu
Easy to suggest when don't know about the problem!
Vipulinux
Respected Contributor

Re: get hardware info under linux

Hi Chris
Try this:
http://www.nongnu.org/dmidecode/

Cheers
Carlos Roberto Schimidt
Regular Advisor

Re: get hardware info under linux

Hi,

Under directory tree is possible get many information:

echo "Kernel Bit: `file /proc/kcore | awk '{print $3}'` "

echo "real memory `cat meminfo | grep MemTotal | cut -d ':' -f2` "

echo "# Processors `cat /proc/cpuinfo | grep "model " | wc -l` "

echo "Processor Type `cat /proc/cpuinfo | grep "model " | tail -1 | cut -d ':' -f2`"

Schimidt
simplylinuxfaq
Frequent Advisor

Re: get hardware info under linux

I got the perfect answer for this. There is a script which can be used to pull out all these details.. Download the script from here: 

 

How To Findout Hardware Details In Linux

 

Thanks,

Mssm

Thanks,
SimplyLinuxFAQ
Jags_21
HPE Pro

Re: get hardware info under linux

Hi Chris,

 

you can use the dmidecode command which pulls the information from DMI/SMBIOS you will get the complete information of the system. you can also redirect the output to a file

 

command syntax:

# dmidecode -q > dmidecode.txt

 

if you want specific information an example on BIOS mentioned below.

 

command syntax:

# dmidecode --type bios

 

Thanks

Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise.
I work for HPE

Accept or Kudo