core-admin/doc/qvm-tools/qvm-run.rst

81 lines
1.7 KiB
ReStructuredText
Raw Normal View History

2014-11-21 12:30:23 +01:00
.. program:: qvm-run
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
=====================================================
:program:`qvm-run` -- Run a command on a specified VM
=====================================================
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
Synopsis
2013-03-12 16:55:05 +01:00
========
2014-11-28 18:37:17 +01:00
:command:`qvm-run` [*options*] [<*vm-name*>] [<*cmd*>]
2013-03-12 16:55:05 +01:00
2014-11-21 12:30:23 +01:00
Options
2013-03-12 16:55:05 +01:00
=======
2014-11-21 12:30:23 +01:00
.. option:: --help, -h
2013-03-12 16:55:05 +01:00
Show this help message and exit
2014-11-21 12:30:23 +01:00
.. option:: --quiet, -q
2013-03-12 16:55:05 +01:00
Be quiet
2014-11-21 12:30:23 +01:00
.. option:: --auto, -a
2013-03-12 16:55:05 +01:00
Auto start the VM if not running
2014-11-21 12:30:23 +01:00
.. option:: --user=USER, -u USER
2013-03-12 16:55:05 +01:00
Run command in a VM as a specified user
2014-11-21 12:30:23 +01:00
.. option:: --tray
2013-03-12 16:55:05 +01:00
Use tray notifications instead of stdout
2014-11-21 12:30:23 +01:00
.. option:: --all
Run command on all currently running VMs (or all paused, in case of :option:`--unpause`)
.. option:: --exclude=EXCLUDE_LIST
When :option:`--all` is used: exclude this VM name (might be repeated)
.. option:: --wait
2013-03-12 16:55:05 +01:00
Wait for the VM(s) to shutdown
2014-11-21 12:30:23 +01:00
.. option:: --shutdown
Do 'xl shutdown' for the VM(s) (can be combined with :option:`--all` and
:option:`--wait`)
.. deprecated:: R2
Use :manpage:`qvm-shutdown(1)` instead.
.. option:: --pause
Do 'xl pause' for the VM(s) (can be combined with :option:`--all` and
:option:`--wait`)
.. option:: --unpause
Do 'xl unpause' for the VM(s) (can be combined with :option:`--all` and
:option:`--wait`)
.. option:: --pass-io, -p
2013-03-12 16:55:05 +01:00
Pass stdin/stdout/stderr from remote program
2014-11-21 12:30:23 +01:00
.. option:: --localcmd=LOCALCMD
With :option:`--pass-io`, pass stdin/stdout/stderr to the given program
.. option:: --force
2013-03-12 16:55:05 +01:00
Force operation, even if may damage other VMs (eg. shutdown of NetVM)
2014-11-21 12:30:23 +01:00
Authors
2013-03-12 16:55:05 +01:00
=======
| Joanna Rutkowska <joanna at invisiblethingslab dot com>
| Rafal Wojtczuk <rafal at invisiblethingslab dot com>
| Marek Marczykowski <marmarek at invisiblethingslab dot com>