第 14 章 虚拟化工具
以下是在运行 Xen 的系统中有用的虚拟化管理工具和调试及联网工具。
系统管理工具
vmstat
iostat
lsof
# lsof -i :5900
xen-vncfb 10635 root 5u IPv4 218738 TCP grumble.boston.redhat.com:5900 (LISTEN)
qemu-img
高级调试工具
systemTap
crash
xen-gdbserver
sysrq
sysrq t
sysrq w
sysrq c
联网
brtcl
# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no vif13.0
pdummy0
vif0.0
# brctl showmacs xenbr0
port no mac addr is local? aging timer
1 fe:ff:ff:ff:ff:ff yes 0.00
# brctl showstp xenbr0
xenbr0
bridge id 8000.feffffffffff
designated root 8000.feffffffffff
root port 0 path cost 0
max age 20.00 bridge max age 20.00
hello time 2.00 bridge hello time 2.00
forward delay 0.00 bridge forward delay 0.00
aging time 300.01
hello timer 1.43 tcn timer 0.00
topology change timer 0.00 gc timer 0.02
flags
vif13.0 (3)
port id 8003 state forwarding
designated root 8000.feffffffffff path cost 100
designated bridge 8000.feffffffffff message age timer 0.00
designated port 8003 forward delay timer 0.00
designated cost 0 hold timer 0.43
flags
pdummy0 (2)
port id 8002 state forwarding
designated root 8000.feffffffffff path cost 100
designated bridge 8000.feffffffffff message age timer 0.00
designated port 8002 forward delay timer 0.00
designated cost 0 hold timer 0.43
flags
vif0.0 (1)
port id 8001 state forwarding
designated root 8000.feffffffffff path cost 100
designated bridge 8000.feffffffffff message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.43
flags
ifconfig
tcpdump
KVM 工具
ps
pstree
top
kvmtrace
kvm_stat
Xen 工具
xentop
xm dmesg
xm log
当前内容版权归 fedoraproject 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 fedoraproject .