smRunLifeTime
DISMAN-SCRIPT-MIB ·
.1.3.6.1.2.1.64.1.4.2.1.5
Object
This object specifies how long the script can execute.
This object returns the remaining time that the script
may run. The object is initialized with the value of the
associated smLaunchLifeTime object and ticks backwards.
The script is aborted immediately when the value reaches 0.
The value of this object may be set in order to increase or
reduce the remaining time that the script may run. Setting
this value to 0 will abort script execution immediately,
and, if the value of smRunExpireTime is also 0, will remove
this entry from the smRunTable once it has terminated.
If smRunLifeTime is set to its maximum value (2147483647),
either by a set operation or by its initialization from the
smLaunchLifeTime object, then it will not tick backwards.
A running script with a maximum smRunLifeTime value will
thus never be terminated with a `lifeTimeExceeded' exit
code.
The value of smRunLifeTime reflects the real-time execution
time as seen by the outside world. The value of this object
will always be 0 for a script that finished execution, that
is smRunState has the value `terminated'.
The value of smRunLifeTime does not change while a script
is suspended, that is smRunState has the value `suspended'.
Note that this does not affect set operations. It is legal
to modify smRunLifeTime via set operations while a script
is suspended.
Context
- MIB
- DISMAN-SCRIPT-MIB
- OID
.1.3.6.1.2.1.64.1.4.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Units
- centi-seconds
- Parent
- smRunEntry
- Table
- smRunTable
- Siblings
- 12
Values & Constraints
Type Constraints
range: 0..2147483647
Related Objects
Sibling Objects
| Object | Type | Syntax | OID |
|---|---|---|---|
| smRunIndex The locally arbitrary, but unique identifier associated
with this running or finished script. This value must be
unique for all rows in the smRunTable with the same
smLaunchOwner … | column | Integer32 | .1.3.6.1.2.1.64.1.4.2.1.1 |
| smRunState The value of this object indicates the script's execution
state. If the script has been invoked but has not yet
begun execution, the value will be `initializing'. If the
script is… | column | Enumeration | .1.3.6.1.2.1.64.1.4.2.1.10 |
| smRunError This object contains a descriptive error message if the
script startup or execution raised an abnormal condition.
An implementation must store a descriptive error message
in this … | column | SNMP-FRAMEWORK-MIBSnmpAdminString | .1.3.6.1.2.1.64.1.4.2.1.11 |
| smRunResultTime The date and time when the smRunResult was last updated.
The value '0000000000000000'H is returned if smRunResult
has not yet been updated after the creation of this
smRunTable en… | column | SNMPv2-TCDateAndTime | .1.3.6.1.2.1.64.1.4.2.1.12 |
| smRunErrorTime The date and time when the smRunError was last updated.
The value '0000000000000000'H is returned if smRunError
has not yet been updated after the creation of this
… | column | SNMPv2-TCDateAndTime | .1.3.6.1.2.1.64.1.4.2.1.13 |
| smRunArgument The argument supplied to the script when it started. | column | OctetString | .1.3.6.1.2.1.64.1.4.2.1.2 |
| smRunStartTime The date and time when the execution started. The value
'0000000000000000'H is returned if the script has not
started yet. | column | SNMPv2-TCDateAndTime | .1.3.6.1.2.1.64.1.4.2.1.3 |
| smRunEndTime The date and time when the execution terminated. The value
'0000000000000000'H is returned if the script has not
terminated yet. | column | SNMPv2-TCDateAndTime | .1.3.6.1.2.1.64.1.4.2.1.4 |
| smRunExpireTime The value of this object specifies how long this row can
exist in the smRunTable after the script has terminated.
This object returns the remaining time that the row may
exist bef… | column | centi-seconds SNMPv2-TCTimeInterval | .1.3.6.1.2.1.64.1.4.2.1.6 |
| smRunExitCode The value of this object indicates the reason why a
script finished execution. The smRunExitCode code may have
one of the following values:
- `noError', which indic… | column | Enumeration | .1.3.6.1.2.1.64.1.4.2.1.7 |
| smRunResult The result value produced by the running script. Note that
the result may change while the script is executing. | column | OctetString | .1.3.6.1.2.1.64.1.4.2.1.8 |
| smRunControl The value of this object indicates the desired status of the
script execution defined by this row.
Setting this object to `abort' will abort execution if the
… | column | Enumeration | .1.3.6.1.2.1.64.1.4.2.1.9 |