Deleting Logs and Process Files for SRC Components
For the following SRC components, you can issue a command to clean (delete) certain files that are generated by the process for that component.
- Text files that contain event messages.
- The files to which the machine on which you installed the component redirects the stderr and stdout outputs for that the component.
- Other types of files that the process generates and that are not used to reestablish the state of the SRC component when you restart it. These files vary according to each SRC component.
- Configurations in the directory or in local files.
- Information generated by the system logging facilities.
- Files that are required to reestablish the state of the SRC component when you restart it.
We recommend that you clean these files for a component when you stop it. When you restart the component, the SRC software creates new files with the same names as the ones you deleted. Cleaning the files keeps the file size small so that you can find data in the files more easily.
Deleting Log Files for SRC Components
To delete (clean) the log files for an SRC component:
- On the host on which you installed the SRC component, log in as
root
or as another authorized user.- Access the folder in which you installed the component.
cd /opt/UMC/<sdxComponent>/etc<sdxComponent> is the name of the folder in which the SRC component is installed.
For information about component names, see SRC-PE Getting Started Guide, Chapter 28, Installing the SRC Software on a Solaris Platform.
The system responds with a status message.
For example, to clean files for the SAE, enter the following commands:
cd /opt/UMC/sae/etc./sae stop./sae clean./sae start