Originally posted by: Sumanth.Sharma
You can use libodm and liblvm to get lot of information.
I have used odm_get_list; allows you to use the same odm command line like queries.
You can get, disk, CPU information quite easily. I have also used /dev/kmem, struct _system_configuration for additional CPU and Disk IO information etc.
The system command "prtconf" gives a lot of system information, pasring this command will give you good amount of information about system.
"lscfg -p -vl sysplanar0" command will give you good information about machine model/mainboard etc.
If you want to avoid using command parsing then ODM is the way to go.
Let me know your preference, I will see if I could be of any help.
Thanks,
Sumanth
#AIX-Forum