18.07.2013 Views

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Understanding automatic (cron) jobs<br />

A-16 Command Line Reference<br />

/etc/weekly<br />

This job runs each Saturday at 3:30 a.m and performs these tasks:<br />

Rotates the access_log and error_log files in /var/log/httpd. These<br />

files exist only if the httpd server is running.<br />

Runs weekly.local. (This allows you to remove miscellaneous “.o”<br />

files from the /usr/src and /usr/obj directories (however, you must<br />

first uncomment the find command line in /etc/weekly.local).<br />

The output <strong>of</strong> this job is sent to the /var/log/weekly.out file. You can<br />

view this output as described in Chapter 18.<br />

/etc/monthly<br />

This jobs runs at 5:30 a.m. on the first day <strong>of</strong> each month and rotates<br />

the /var/log/wtmp file. The output <strong>of</strong> this job is sent to the<br />

/var/log/monthly.out file. You can view this output as described in<br />

Chapter 18.<br />

Rollaudit cron jobs<br />

There are two /usr/sbin/rollaudit jobs listed in /etc/crontab. The<br />

first job checks the size <strong>of</strong> various audit and log files daily at 2:00 a.m.<br />

The second job runs each hour and rotates files found to be growing<br />

too quickly. When these jobs run, they check the<br />

/etc/sidewinder/rollaudit.conf configuration file to see which files<br />

should be rotated. The following files are checked by rollaudit:<br />

/var/log/audit.* (the <strong>Sidewinder</strong> <strong>G2</strong> generates reports when these<br />

files are rolled.)<br />

/var/log/auditd.log<br />

/var/log/cron<br />

/var/log/lpd-errs<br />

/var/log/messages<br />

/var/log/maillog (This file is rotated once a week. The output is<br />

used for the mail traffic reports described in Chapter 18.)<br />

/var/log/snmpd.log

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!