Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
18.4. 故障排除工具
本章概述系統管理員應用程式、網路工具與進階除錯工具(更多相關使用這些工具來設定 Red Hat 虛擬化服務的資訊,請參考對應設定文件)。您可以使用這些標準系統管理員工具與紀錄來協助您故障排除:
xentop
xm dmesg
xm log
vmstat
iostat
lsof
您可以使用這些進階除錯工具與紀錄來協助您故障排除:
XenOprofile
systemTap
crash
sysrq
sysrq t
sysrq w
您可以使用這些網路工具與紀錄來協助您故障排除:
ifconfig
tcpdump
brctl
brctl
為網路工具,用來檢查與設定在虛擬化 linux 核心中的乙太網橋接設定。您必須能夠以 root 身份登入,才能執行下列範例指令:
# brctl show bridge-name bridge-id STP enabled interfaces ----------------------------------------------------------------------------- xenbr0 8000.feffffff no vif13.0 xenbr1 8000.ffffefff yes pddummy0 xenbr2 8000.ffffffef no vif0.0 # brctl showmacs xenbr0 port-no mac-addr local? ageing timer 1 fe:ff:ff:ff:ff: yes 0.00 2 fe:ff:ff:fe:ff: yes 0.00 # brctl showstp xenbr0 xenbr0 bridge-id 8000.fefffffffff designated-root 8000.fefffffffff 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 ageing-time 300.01 hello-timer 1.43 tcn-timer 0.00 topology-change-timer 0.00 gc-timer 0.02