blob: a5116b0a6026454161e2a2178ac031da65449ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
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:
dpkg -s virtigod
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
|