print indepth hardware info

sudo dmidecode | more
wanna know something about your hardware? how about EVERYTHING?? then this should do ya well

By: oreo
2009-02-16 03:32:30

These Might Interest You

  • This helps quickly get information for each disk that is seemingly having hardware issues.

    iostat -En $(iostat -en|grep c#t|awk '$2 > 0 {print $NF}')
    unixmonkey28207 · 2011-12-09 15:54:28 0
  • Info about Bluetooth devices. Show Sample Output

    hciconfig;hciconfig -a hci0;lsmod |grep bt;dmesg | grep tooth
    FadeMind · 2013-08-21 12:29:23 0
  • entering this command as root may give more complete results, creating a tmp file, and immediately opening the file might be more useful

    sudo lshw -html > /tmp/hardware.html && xdg-open /tmp/hardware.html
    Sadi · 2014-03-08 10:40:21 0
  • One base component is our hardware detection. It is a C++ library and app and is designed after a dynamic structure. Any kind of hardware, no matter if usb or pci, can be configured by mhwd. There is just a simple configuration file which tells mhwd what to do. This way we also support hybrid graphics cards out of the box. However there are currently only mhwd configs for nvidia optimus setups. But this gap will be filled soon. Just play with some of those commands to get a feeling about mhwd. Show Sample Output

    mhwd --help
    unixmonkey57489 · 2013-05-16 14:30:18 0

What Others Think

dmidecode is really useful - for example on Dell servers, you can get the Dell Asset Tag this way. Very handy for servers you're not physically near to - just ssh in and run dmidecode. Also serial & model numbers for hard drives... all kinds of good stuff.
dmmst19 · 486 weeks and 6 days ago
Works on my CentOS5.1 dist. Never knew about it. Thanks.
bluehash · 486 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: