Avaya Writing Technician Interface Scripts Manuel d'utilisateur Page 93

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 92
Sample Scripts
308660-14.00 Rev 00
A-19
wfFDDIParityErrTx
array -a attr wfFDDIRingErrRx wfFDDIRingErrTx wfFDDISmtRingErrRx \
wfFDDIPortOpErr
array -a attr wfFDDIInternOpErr wfFDDIHostErr
enum 1 Cct Slot Node ParityErrRx ParityErrTx i
enum $i RingErrRx RingErrTx SmtRingErrRx PortOpErr InternOpErr HostErr
echo
echo “FDDI Module System Errors:”
echo “--------------------------”
echo
printf “%-4.4s %-4.4s %-8.8s %-10.10s %-10.10s %-10.10s %-10.10s \
%-10.10s\n” “” “” “” “” “” “ Port” “ Internal” “”
printf “%-4.4s %-4.4s %-8.8s %-10.10s %-10.10s %-10.10s %-10.10s %-
10.10s\n” “” “” “” “ Parity” “ Ring” “Operation” “Operation”
“ Host”
printf “%-4.4s %-4.4s %-8.8s %-10.10s %-10.10s %-10.10s %-10.10s \
%-10.10s\n” “Slot” “Conn” “Circuit” “ Errors” “ Errors” \
“ Errors” “ Errors” “ Errors”
printf “%-4.4s %-4.4s %-8.8s %-10.10s %-10.10s %-10.10s %-10.10s \
%-10.10s\n” “----” “----” “--------” “----------” \
“----------” “----------” “----------” “----------”
let i = 0
:FI_SyLOOP:
mi/jointfilesconvert/95481/bget -n wfFddiEntry attr $nextid value nextid
if “$nextid” = “END” then; let i = $i + 1; goto :FOOTER_AND_END:
let cctnum = ${value[$Cct]}
gosub :GETCCTNAME:
if “$matchcct” = “” then ; goto :FI_PRNTSE:
if -ic “$matchcct” != “$cctname” then ; goto :FI_SYS_NXT:
let match_entries = $match_entries + 1
:FI_PRNTSE:
let parity = ${value[$ParityErrRx]}
let parity = $parity + ${value[$ParityErrTx]}
let ring = ${value[$RingErrRx]}
let ring = $ring + ${value[$RingErrTx]}
let ring = $ring + ${value[$SmtRingErrRx]}
printf “%4d %4d %-8.8s ” ${value[$Slot]} ${value[$Node]} “$cctname”
printf “%10u %10u %10u %10u %10u ” $parity $ring \
${value[$PortOpErr]} ${value[$InternOpErr]} \
${value[$HostErr]}
echo
cutenv -c9-15 name2 “$cctname”
Vue de la page 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 115 116

Commentaires sur ces manuels

Pas de commentaire