tsarchive(1M)
tsarchive - renames log file
As shipped in IRIX 6.5.15. Added in IRIX 6.5.15.
NAME tsarchive - renames log file SYNOPSIS /usr/etc/ts/archive [ -f ] DESCRIPTION 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. FILES /var/spool/ts/pd/log/tspd.log tape support log file SEE ALSO tsdaemon(1M), tserrpt(1M), tsset(1M), tsstop(1M), ts.config(4), ts(7). DIAGNOSTICS If the rename operation is successful, the tsarchive command returns 0; otherwise, a value of 1 is returned.