We are working on implementation project. Due to security reason SSH passwdless mechanism is not allowed here. We have 7 managed systems connected to HMC1 and 10 managed systems connected to another HMC . Each managed systems have some 40 lpars. Every week I need to collect CPU and memory allocated to all lpars information. I need a script to fullfill following.
1. The script need to collect all Managed systems from HMC .
2. Then need to collect list of lpars available in all managed belong that HMC
3. Then finally need to report CPU and memory resources belong to all lpars.
Any help please. through lsshowres command it is possible I believe.