smRunState
DISMAN-SCRIPT-MIB ·
.1.3.6.1.2.1.64.1.4.2.1.10
Object
column
Enumeration
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 running, the value will be `executing'.
A running script which received a request to suspend
execution first transitions into a temporary `suspending'
state. The temporary `suspending' state changes to
`suspended' when the script has actually been suspended. The
temporary `suspending' state changes back to `executing' if
the attempt to suspend the running script fails.
A suspended script which received a request to resume
execution first transitions into a temporary `resuming'
state. The temporary `resuming' state changes to `running'
when the script has actually been resumed. The temporary
`resuming' state changes back to `suspended' if the attempt
to resume the suspended script fails.
A script which received a request to abort execution but
which is still running first transitions into a temporary
`aborting' state.
A script which has finished its execution is `terminated'.
Context
- MIB
- DISMAN-SCRIPT-MIB
- OID
.1.3.6.1.2.1.64.1.4.2.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- smRunEntry
- Table
- smRunTable
- Siblings
- 12
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | initializing |
2 | executing |
3 | suspending |
4 | suspended |
5 | resuming |
6 | aborting |
7 | terminated |
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 |
| 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 |
| smRunLifeTime 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 s… | column | centi-seconds SNMPv2-TCTimeInterval | .1.3.6.1.2.1.64.1.4.2.1.5 |
| 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 |