Page 9 of 16
while [ -n "$1" ]
do
if[$1-gt5]
then
echo killing $2 with load $1 ...
kill -9 $2
fi
shift 2
sleep 1
done
fi
It is recommended to invoke the cleanup process on a regular basis. This is achieved
by modifying the crontab entries of your CMS system. First gain system privileges by
using the su command. By entering
# crontab –l
you may review the current configuration. Each entry specifies the time of execution
and the command to be executed. Fields are delimited by space and are ordered as
follows: <minute> <hour> <day of month> <month> <day of week>
<command>. To edit the crontab configuration, simply enter
# crontab –e
to invoke the system editor (vi in most cases). In the last line enter
10,40****/usr/local/cms/pwdch_cleanup
to let the system start the cleanup process every half hour. In case you have installed
pwdch.tar to a different location, modify the entry accordingly. It is highly
recommended to browse through the system documentation before modifying crontab
settings and to create backups before modifying any contents.
6 Program Usage
This section is devoted to the use of the CMS password service utility pwdch and the
proper setup of the required operation environment. So please read carefully through the
subsection regarding configuration of your terminal emulation. You may safely skip it if
you have worked with CMS using a terminal emulation program before, but be informed
that pwdch is more sensible to the emulation type than the CMS main application as it
supports more navigation keys (especially <PGDN>, <PGUP>, <HOME>) which CMS
does not.
6.1 AVAYA Terminal Emulation Configuration
We decided to exemplify terminal emulation configuration based on AVAYA Terminal
Emulator as this program is free to users of AVAYA products and supports all
necessary emulations. Please note that some very old versions of AVAYA Terminal
Emulator became unstable during operation on some systems, so be advised to
upgrade to a recent version of AVAYA Terminal Emulator (Version 1.0.17 and above
should be sufficient).
Our recommended terminal type to be emulated with the CMS main application and
pwdch is AT&T605BCT (in short "605"). In comparison to another very similar terminal
AT&T615BCT this type supports <PGUP>, <PGDN> and <HOME> in addition to cursor
navigation. The character representation is similar for both terminal types. We
Comentarios a estos manuales