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?