1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-12 09:15:41 +02:00

qm-guest: add page (#17511)

This commit is contained in:
Managor 2025-08-06 19:09:31 +03:00 committed by GitHub
parent 7a74cf1906
commit 5b6a855ce6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages/linux/qm-guest.md Normal file
View file

@ -0,0 +1,20 @@
# qm guest
> Manage a VM guest agent.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Print the status of a specific PID:
`qm {{[g|guest]}} {{[exec-s|exec-status]}} {{vm_id}} {{pid}}`
- Set a password for a specific user in a virtual machine interactively:
`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}`
- Execute a specific QEMU Guest Agent command:
`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}`
- Execute a specific command via a guest agent:
`qm {{[g|guest]}} exec {{vm_id}} {{command}} {{argument1 argument2 ...}}`