virtigod/Makefile.help

56 lines
1.0 KiB
Makefile
Raw Normal View History

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:
journalctl -f -xeu virtigod.service
curl-vms:
curl http://localhost:2520/vms
curl-kill:
curl http://localhost:2520/kill
status:
systemctl status virtigod.service
enable:
systemctl enable virtigod.service
stop:
systemctl stop virtigod.service
restart:
systemctl stop virtigod.service
systemctl start virtigod.service
make log
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
# run the daemon in listen mode
libvirtd-listen:
systemctl stop libvirtd.service
libvirtd --listen
libvirtd-strace:
systemctl stop libvirtd.service
strace -ftt libvirtd --listen
strace-virsh:
strace -ftt virsh list