public
Created

Modified Hardware output configuration in jclouds cli.

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12
#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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.