tsarchive(1M) tsarchive(1M)
tsarchive - renames log file
/usr/etc/ts/archive [ -f ]
The tsarchive command renames the tspd.log log file in the
/var/spool/ts/pd/log directory so that the file can be archived. A cron
job executes the command daily in the /var/spool/cron/crontabs/root
directory, and the file is renamed if the file size is greater than
1024000 bytes. The file is renamed tspd.log.yyyymmdd.hhmmss.
yyyymmdd and hhmmss are the date and time of the first record in
tspd.log:
yyyymmdd Year, month,day
hhmmss Hour, minute, second
The tsarchive command accepts the following option:
-f Ensures that the tspd.log file is renamed regardless of its size.
If -f is not specified, tspd.log is renamed only if its size is
greater than 1024000 bytes.
/var/spool/ts/pd/log/tspd.log tape support log file
tsdaemon(1M), tserrpt(1M), tsset(1M), tsstop(1M), ts.config(4), ts(7). If the rename operation is successful, the tsarchive command returns 0;
otherwise, a value of 1 is returned.
PPPPaaaaggggeeee 1111 [ Back ]
|