The end lifetime command sets the lifetime of an eMDI instance.
The undo end lifetime command restores the default lifetime of an eMDI instance.
By default, the lifetime of an eMDI instance is 1 hour.
end lifetime { seconds seconds | minutes minutes | hours hours | days days }
undo end lifetime [ seconds seconds | minutes minutes | hours hours | days days ]
Parameter | Description | Value |
---|---|---|
seconds seconds | Specifies the lifetime of an eMDI instance, in seconds. |
The value is an integer in the range from 300 to 604800. |
minutes minutes | Specifies the lifetime of an eMDI instance, in minutes. |
The value is an integer in the range from 5 to 10080. |
hours hours | Specifies the lifetime of an eMDI instance, in hours. |
The value is an integer in the range from 1 to 168. |
days days | Specifies the lifetime of an eMDI instance, in days. |
The value is an integer in the range from 1 to 7. |
eMDI is a one-off monitoring activity and does not need to run for a long time. You can run this command to configure the lifetime of an eMDI instance. After the eMDI instance is started, it stops automatically when its lifetime expires.
PrecautionsAfter an eMDI instance is started, its lifetime cannot be modified. To modify the lifetime, run the stop command to stop the eMDI instance first.