Idea Details

[PIM] Limit the amount of dumps created by seoswd

Last activity 06-03-2019 08:36 PM
Simon Naunton's profile image
04-05-2016 11:53 PM

If the registry key HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\AccessControl\AccessControl\GenerateMemDump is set to 1 it will create a dump when seoswd restarts seosd (if set to 0 it will not create a dump).


The customer would like to be able to limit the number of dumps created. For example, keep only the last five dumps.


It is possible to schedule a batch file like the below (where the dumps meet a filespec specified by <filespec>) to run every hour/day/whatever to do this, however they would like PIM to be able to do this automatically.


@echo off REM ***************************************************************************** REM Set keep_nfiles to the number of dump files you want to keep SET keep_nfiles=28 REM *****************************************************************************  set count=0 for /F %%A in ('dir /O-S /B ') do (CALL :do_file "%%A") GOTO:EOF  :do_file if %count% GEQ %keep_nfiles% del %1 set /a count+=1


10-07-2016 08:49 AM

Hi Simon_Naunton - we've reviewed your submission and are adding it to the wishlist - we'll let you know if and when it is marked for a specific release.



05-27-2016 03:23 PM

Hi Simon_Naunton - Thank you for your submission.  We are currently reviewing this request.