![Cisco ASR 9000 Serie Скачать руководство пользователя страница 118](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679118.webp)
(Optional) Policy run-time priority setting. When the
nice
argument is set to 1, the policy is run at a
run-time priority that is less than the default priority.
The default value is 0.
nice
Result String
None
Set _cerrno
No
event_register_oir
Registers for an online insertion and removal (OIR) event. Use this Tcl command extension to run a policy
on the basis of an event raised when a hardware card OIR occurs. These events are handled by the OIR event
detector that screens for this event.
Syntax
event_register_oir [queue_priority low|normal|high] [maxrun ?] [nice 0|1]
Arguments
(Optional) Priority level at which the script will be
queued; normal priority is greater than low priority
but less than high priority. The priority here is not
execution priority, but queuing priority. If this
argument is not specified, the default priority is
normal.
queue_priority
(Optional) Maximum run time of the script (specified
in SSSSSSSSSS[.MMM] format, where SSSSSSSSSS
must be an integer representing seconds between 0
and 4294967295, inclusive, and where MMM must
be an integer representing milliseconds between 0
and 999). If this argument is not specified, the default
20-second run-time limit is used.
maxrun
(Optional) Policy run-time priority setting. When the
nice
argument is set to 1, the policy is run at a
run-time priority that is less than the default priority.
The default value is 0.
nice
Result String
None
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
102
Configuring and Managing Embedded Event Manager Policies
Embedded Event Manager Event Registration Tcl Command Extensions