On Tue, May 19 2020, Johannes Graumann wrote:
> On 2020-05-19 10:46, Frédéric Pierret wrote: > >> There is a tool for checking state of VMs: >> >> [userdom0 ~]$ qvm-check toto >> usage: qvm-check [--verbose] [--quiet] [--help] [--all] [--exclude EXCLUDE] >> [--running] [--paused] [--template] [--networked] >> [VMNAME [VMNAME ...]] >> qvm-check: error: no such domain: 'toto' >> [user@dom0 ~]$ echo $? >> 2 >> [user@dom0 ~]$ qvm-check sys-net >> qvm-check: sys-net: exists >> [user@dom0 ~]$ echo $? >> 0 >> >> Best, >> Frédéric >> >> On 2020-05-19 10:35, Christophe wrote: qvm-ls|grep yourvmname >> >> On 20/05/19 10:32AM, Johannes Graumann wrote: Hello, >> >> See subject line ;) >> >> Sincerely, Joh >> >> -- >> You received this message because you are subscribed to the Google Groups >> "qubes-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/qubes-users/74dcf0a303aa9afb95809626034f7e1e%40graumannschaft.org. > > Ha - even better ... sorry, saw this late. > > Thanks! > > Joh Hi, You maybe interested to know which VM is the last started (sometime for DVM), here my way to do it : virsh -c xen:/// list | tail -n 2 | head -n 1 | sed -r 's/^ [0-9]+ *//s .//' -- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/87ftbn7r0p.fsf%40host.localdomain.
