qm Verified current stable Not installed?

Qm / Execute Command Asynchronously Via Guest Agent Linux

Execute Command Asynchronously Via Guest Agent Linux

Qm command syntax to execute command asynchronously via guest agent linux. Copyable examples, output expectations, and common mistakes.

$
Terminal
qm g exec <vm_id> <argument1 argument2 ...> --synchronous 0

Command Breakdown

What each part is doing

qm
Base Command
The executable that performs this operation. Here it runs Qm before the shell applies any redirect operators.
g
g|guest
The value supplied for g|guest.
<vm_id>
vm id
The value supplied for vm id.
<argument1 argument2 ...>
argument1 argument2 ...
The value supplied for argument1 argument2 ....
--synchronous
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "sync" operation intent.