Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Modified Hardware output configuration in jclouds cli.
#The column headers
#Groovy expressions for displaying id, ram, sum of (cores X speed) for each proceessor, sum of cores.;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.
#Sort by the [cpu] column in descending order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.