Starting and stopping vmware in linux command line

One advantage of using command line is that you can start and stop the VM without logging into the web console. I am using vmware server 2.0. I believe it should work the same for future versions.

To start and stop certain instance, say ares,

vmrun -T server -h '' -u root -p 'yourpass' start "[standard] ares/ares.vmx"

vmrun -T server -h '' -u root -p 'yourpass' stop "[standard] ares/ares.vmx"

you can list all vm currently running under vmware using

vmrun -T server -h '' -u root -p 'yourpass' list

Total running VMs: 5
[standard] medusa/medusa.vmx
[standard] ares/ares.vmx
[standard] hera/hera.vmx
[standard] hermes/hermes.vmx
[standard] zeus/zeus.vmx

The vmrun command can do much more. see “vmrun –help”

Like it.? Share it:

One Response to Starting and stopping vmware in linux command line

  1. linux commands

    Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but other than that, this is magnificent blog. A great read. I’ll definitely be back.