smonclean
The smonclean
program permanently deletes session monitoring packages that meet a given age threshold. This applies to both the database and files on the filesystem. When sessions are older than x number of days, any single and multi-session packages that contain the session are removed, and the session itself will no longer be available to be viewed or downloaded.
Multi-session packages will be removed if at least one of their sessions meets the age threshold, regardless of whether they contain other sessions that do not meet the age threshold. Sessions will not be removed if there are active packages still retained. They can be forcibly removed by passing an additional flag argument.
Usage
smonclean.exe -d <number of days old>
Argument | Description |
---|---|
-d <number of days old> | Sessions at least this many days old will be permanently deleted. Accepts values between 1-24855. |
-f | Proceed with session removal even if there are active packages still retained. If flag is not set, the process will abort and record the details in the instance log. |
To delete sessions and their packages older than 30 days:
smonclean.exe -d 30
To force delete sessions and their packages older than 5 days, regardless of whether there are active packages retained:
smonclean.exe -d 5 -f