System Administration Guide
Chapter 2, Administering filesystems

Checking and clearing system log files

Checking and clearing system log files

Your SCO system maintains a number of log files that contain information about system usage. When new information is generated, the system appends it to the appropriate log file, preserving the previous contents of the file. Because some log files can rapidly become quite large, you should check these files periodically and, if necessary, clear them by deleting their contents.

You can manage these files by:

Table 2-4, lists the log files that are most likely to need clearing or trimming. Your system might include different log files from those listed, depending on your configuration and the utilities and application software installed. Depending on your system activity, you might need to check the files more or less frequently than indicated in the table. Use find(C) to locate unlisted large log files. 

Table 2-4 Administrative log files

 Log File                    Purpose              Checking
 /etc/wtmp                   historical login     automatic*
 /usr/adm/pacct              process accounting   weekly
                             log file
 /usr/adm/messages           system messages log  weekly
 /usr/adm/sulog              su(C) log file       automatic*
 /tcb/audittmp/             audit system         weekly
                             temporary files
 /usr/spool/uucp/LOGFILE     records of UUCP job  monthly
                             requests, file
                             transfers, system
 /usr/spool/uucp/.Log/.Old/ old UUCP log files   monthly
                             stored by
 /usr/spool/lp/logs/requests record of print      automatic*

You can maintain this file (and others) automatically; see ``Clearing log files automatically''.