Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for an equivalent tool or command to dump connected hardware (and optionally software) to a text or XML file for documenting system configuration on RHEL 5.8 specifically.

I am used to lscfg on AIX to dump status of all connected hardware. On Mac, I have system_profiler which dumps both hardware and software details.

Is there a similar tool to these on Red Hat Enterprise Linux that dumps connected hardware information for inventory and discovery purposes?

share|improve this question
up vote 1 down vote accepted

There should be a utility called dmidecode in the path, that sounds like it provides what you are looking for. Some details can be found on the RHEL documentation here.

share|improve this answer
This looks highly useful. I'll dig into it - might be the perfect tool. – bmike Jul 16 '13 at 21:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.