hvrcheckpointretention
Usage
hvrcheckpointretention [-ppurge_seconds] checkpointfilepath
Description
Command hvrcheckpointretention displays the checkpoint files available in the directory defined by checkpointfilepath. Also, this command with option -p allows you to purge/delete the checkpoints available in the checkpointfilepath directory.
For more information, see Tuning Capture Checkpoints.
Options
This section describes the options available for command hvrcheckpointretention.
Parameter | Description |
---|---|
-ppurge_seconds | Purge checkpoints older than the specified time in purge_seconds. The format for purge_seconds can be in any of the following time formats: hh:mm:ss, mm:ss, or ss. Checkpoints are purged only if there is a checkpoint newer than purge_seconds available in checkpointfilepath directory. |
Examples
This section provides examples of using the hvrcheckpointretention command.
Example 1. View checkpoint files
The following command displays the checkpoint files available in the /home/hvr/hvr_config/capckpretain/myhub/mychannel/src directory.
hvrcheckpointretention /home/hvr/hvr_config/capckpretain/myhub/mychannel/src
Example 2. Delete checkpoint files
The following command deletes checkpoint files older than 24 hours.
hvrcheckpointretention -p 24h /home/hvr/hvr_config/capckpretain/myhub/mychannel/src