public void output(String[] args) throws SigarException {
VM vm = new VM();
vm.connect(new ConnectParams(), args[1], true);
String cmd = args[0];
if (cmd.equals("createSnapshot")) {
vm.createSnapshot(null, null, true, true);
}
else if (cmd.equals("deleteSnapshot")) {
vm.removeAllSnapshots();
}
else if (cmd.equals("revertToSnapshot")) {