jslmmgrdbcleanup (cleans up database)
- Organization of this page
Function
This command deletes unneeded data, including the data that remained when monitored services were deleted and data that was created when database errors occurred. By deleting unneeded data, you can obtain free space for the database.
To use the database area efficiently, we recommend as a guideline that you execute this command every two months.
Execute this command while the following ITSLM - Manager services are running:
-
JP1/ITSLM - Manager DB Service (service name: HiRDBEmbeddedEdition_JL0)
-
JP1/ITSLM - Manager Service (service name: JP1_ITSLM_MGR_Service)
In a cluster system, execute this command on the active server (if the command is executed on the standby server, an error will result).
jslmmgrdbcleanup is set as the identifier in the messages that this command outputs to the message logs.
For details about the message logs, see 7.2.3 Message logs.
For details about the messages displayed during command execution, see 11.3 Messages.
Format
jslmmgrdbcleanup
Execution permission
User account that belongs to the OS's Administrators group
Storage folder
ITSLM-Manager-installation-folder\mgr\bin\
Notes
-
Do not execute another command while this command is executing, except for the jslmminfoget command.
-
This command does not apply to access logs. Access logs are deleted using the standard OS commands for deleting files and folders.
Return value
Return value |
Description |
---|---|
0 |
Database cleanup processing terminated normally. |
1 |
Database cleanup processing failed. |
130 |
The import processing was canceled because Ctrl+C was pressed. |
Example
C:\Program Files\HITACHI\JP1ITSLM\mgr\bin\jslmmgrdbcleanup