I frequently work with customer systems where I need a systems
inventory. This could be for troubleshooting or just to save the final
state of a system for later reference.
I have worked with many consultants who have an inventory script they
give customers but I have found that I prefer to use the tools native
to the platform when they are available. On AIX I use IBM's native
snap command. If you've ever been on the phone with IBM support
before, you know they barely wait to ask your name before they ask for
you to upload a snap.
IBM has created an excellent tool for troubleshooting AIX in the
snap utility which is distributed as part of the OS. In my
experience it captures about 90% of what I need to know about a
Rather than ask a customer to run commands for me and capture the
output, or ask them to run a script from an untrusted source as root
on their production server, I always ask for a snap.