Unix Incantations
Monday, March 5, 2012
How much memory have you allocated?
for i in `virsh list | grep running | cut -d " " -f 3 | grep -v 9`; do virsh dumpxml $i | grep memory | sed s/\
// | sed s/\<\\/memory\>// ; done | xargs | sed s/\ /+/g | bc
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)