List all profiles on one machine and it's CPU attributes.
for LPAR in `lssyscfg -r lpar -m MACHINE_NAME -F lpar_id | sort -n`
do
lssyscfg -r prof -m MACHINE_NAME --filter "lpar_ids=${LPAR}" -F "name:lpar_name:lpar_id:proc_mode:min_proc_units:desired_proc_units:max_proc_units:min_procs:desired_procs:max_procs:sharing_mode:uncap_weight" --header
done
do
lssyscfg -r prof -m MACHINE_NAME --filter "lpar_ids=${LPAR}" -F "name:lpar_name:lpar_id:proc_mode:min_proc_units:desired_proc_units:max_proc_units:min_procs:desired_procs:max_procs:sharing_mode:uncap_weight" --header
done