Useful System Probing Commands

DMIdecode

If you've ever managed a large Linux installation, and dealt with a sudden policy change from "on high" that, all of a sudden, you are to have a spreadsheet of ALL your Linux machines, including make/model of each system and exactly what chipsets are used on the motherboard, the dmidecode command/package is your new best friend. It's the only thing I've found in Linux which will reliably extract the hardware make and model (i.e. HP DL380) from a system without the need to make a physical inventory of each and every system. You will have to do some parsing of the XML output, but it's ridiculously better than having to manually audit all of your hardware! The good news is that, when bundled with a decent configuration management tool such as CFengine or Puppet, your DMIdecode'ing Perl script can be automatically rolled out to all the hosts so that the spreadsheet can be centrally generated.

-- SeanNewton - 08 Jan 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-01-08 - SeanNewton
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback