2024-10-11 23:35:51 -05:00
|
|
|
all:
|
|
|
|
@echo "make log # watch the virtigo daemon log"
|
|
|
|
@echo "make status # show the systemd status of virtigod"
|
|
|
|
@echo "make restart # restart virtigod"
|
|
|
|
@echo "make enable # enable virtigod on boot"
|
|
|
|
|
|
|
|
log:
|
2024-10-12 22:21:48 -05:00
|
|
|
journalctl -f -xeu virtigod.service
|
|
|
|
|
|
|
|
curl-vms:
|
|
|
|
curl http://localhost:2520/vms
|
|
|
|
|
|
|
|
curl-kill:
|
|
|
|
curl http://localhost:2520/kill
|
2024-10-11 23:35:51 -05:00
|
|
|
|
|
|
|
status:
|
2024-10-15 11:02:54 -05:00
|
|
|
dpkg -s virtigod
|
2024-10-11 23:35:51 -05:00
|
|
|
systemctl status virtigod.service
|
|
|
|
|
|
|
|
enable:
|
|
|
|
systemctl enable virtigod.service
|
|
|
|
|
2024-10-12 22:21:48 -05:00
|
|
|
stop:
|
|
|
|
systemctl stop virtigod.service
|
|
|
|
|
2024-10-11 23:35:51 -05:00
|
|
|
restart:
|
|
|
|
systemctl stop virtigod.service
|
|
|
|
systemctl start virtigod.service
|
2024-10-12 22:21:48 -05:00
|
|
|
make log
|
2024-10-12 15:01:27 -05:00
|
|
|
|
|
|
|
log-libvirt-guests:
|
|
|
|
journalctl -n 10 -xeu libvirt-guests.service
|
|
|
|
|
|
|
|
log-libvirtd:
|
|
|
|
journalctl -n 10 -xeu libvirtd.service
|
|
|
|
|
|
|
|
log-virtlogd:
|
|
|
|
journalctl -n 10 -xeu virtlogd.service
|
|
|
|
|
|
|
|
log-virtlockd:
|
|
|
|
journalctl -n 10 -xeu virtlockd.service
|
|
|
|
|
|
|
|
log-everything:
|
|
|
|
journalctl -f -xe
|
|
|
|
|
2024-10-12 17:04:27 -05:00
|
|
|
# run the daemon in listen mode
|
2024-10-12 15:01:27 -05:00
|
|
|
libvirtd-listen:
|
2024-10-12 17:04:27 -05:00
|
|
|
systemctl stop libvirtd.service
|
2024-10-12 19:38:12 -05:00
|
|
|
libvirtd --listen
|
|
|
|
|
|
|
|
libvirtd-strace:
|
|
|
|
systemctl stop libvirtd.service
|
|
|
|
strace -ftt libvirtd --listen
|
|
|
|
|
|
|
|
strace-virsh:
|
|
|
|
strace -ftt virsh list
|