Visualizing Shared Processor Pool allocations on Power Systems
brian_s 270002K5X3 Comments (3) Visits (7803)
I've been working on a script to visual shared processor pool allocations on Power Systems. The script is called "spp2gnu.pl". This is in the very early stages of development and is just a proof of concept and is alpha quality at this point. So if you try it out please let me know what issues you run in to so I can make improvements.
The script connects to the HMC over SSH. You must have SSH keys to your HMC setup for this to work. The script gathers information from the HMC regarding the shared processor pools, and then generates a gnuplot script to create a image like the one below. For thoes of you unfamiliar with gnuplot, it is a powerful multiplatform graphing utility that can be scripted.
Here is a sample image file produced by the spp2gnu.pl script:
The script generates a gnuplot script file, so you need to have gnuplot installed somewhere to produce the graph. I have done all my testing with gnuplot on Linux, although you should be able to install gnuplot on AIX or Windows and get similiar results.
You specify the HMC username@hostname and the managed system name on the command line like in the following example, and then pipe the output to gnuplot:
Or you can run it on a server that doesn't have gnuplot and then transfer the file to another computer that has gnuplot:
Please let me know if you have any suggestions, feedback, or have issues running the script. Again, this is in the very early stages of development and is just a proof of concept and is alpha quality at this point.
Here is the download link: http