Reference Guide

Table Of Contents
Examples
The following example shows the script being run from the service container as root:
svc_arrayconfig run -f json --output /cyc_host/cyc_service/tmp1 --type full --config /
cyc_host/cyc_service/conf/ConfigCaptureConfig.json
svc_arrayconfig run -f json --output /cyc_host/cyc_service/tmp1 --type metrics --config
/cyc_host/cyc_service/conf/MetricsCaptureConfig.json
Make space on the root partition (svc_cleanup)
This service script allows service personnel or customers to gain access to a system that is 100% full. This script enables access
by removing a large file that is consuming space on the root partition.
The cleanup deletes old data collections, old journal logs, and old core dumps.
Verify that the root partition is full. If the root partition is not full, the system asks if you want to continue.
Remove old data collections from /cyc_var/cyc_service/data_collection. If a data collection is not found, you can
find old journal logs in /var/log/journal and delete oldest one.
If a journal log is not found, you can find a core dump at /cyc_var/cyc_dumps/processed/ and delete it.
Usage
Function
System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_cleanup [-h] [-a] [-j] [-c] [-t] [-d] [-y]
Optional arguments
Qualifier
Description
-h, --help Show the help message and exit.
-d, --dataCollection Clean up the data collections.
-c, --coreDump Clean up stored core files.
-a, --all Clean up the data collections, core dumps, journals, logs, and temporary data collection
directory.
12 Service Commands