Created
September 18, 2012 19:57
-
-
Save iocanel/3745466 to your computer and use it in GitHub Desktop.
Modified Hardware output configuration in jclouds cli.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The column headers | |
hardware.headers=[id];[ram];[cpu];[cores];[volumes] | |
#Groovy expressions for displaying id, ram, sum of (cores X speed) for each proceessor, sum of cores. | |
hardware.expressions=hardware.id;hardware.ram;hardware.processors.sum{it.cores*it.speed};hardware.processors.sum{it.cores};hardware.volumes.collect{it.size + "GB " + it.type} | |
#Cell alignments. We prefer numbers to be right aligned. | |
hardware.alignments=left;right;right;right;left | |
#Sort by the [cpu] column in descending order | |
hardware.shortby=[cpu] | |
hardware.ascending=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment