Avaya Writing Technician Interface Scripts Uživatelský manuál Strana 26

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 122
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 25
Writing Technician Interface Scripts
1-6 114089 Rev. A
In the following script, if the user does not press Return before the time specified
for SYS_IO_TIMEOUT has elapsed,
nothing entered appears on the user’s
console:
let SYS_IO_TIMEOUT = 10
setenv ans “$<Enter your name: >”
echo “Your name is $ans”
if “$ans” = “” then; \
echo “nothing entered”
To change the timeout back to an indefinite waiting period, use the following
command:
unsetenv SYS_IO_TIMEOUT
For more information about using the commands in the preceding examples, see
Chapter 2.
Accessing MIB Information
The Technician Interface script facility allows you to assign the value of a MIB
attribute to a variable. Using the syntax
$
<object.attribute.instance>
, you can refer
to the following types of MIB variables:
Counter variables, which keep track of how many times an event occurs.
Display string variables, which specify a piece of information stored in ASCII
characters, and which the system can display for the user to read. The string
must be shorter than 255 characters.
Gauge variables, which keep track of values that fluctuate.
Integer variables, which specify information in the form of a simple integer.
Zobrazit stránku 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 121 122

Komentáře k této Příručce

Žádné komentáře