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