File Age Limits

This FileAges.obj example specifies file age limits, or modification times which if exceeded indicate that a file is out of date.  This file is referenced by the FileUpdates script, and sources from the example fileages_objects.cfg file.

/var/log/syslog 0 14400 0
/var/log/messages 0 10800 0
/var/log/authlog 0 0 0
/var/adm/sulog 0 0 0
/var/adm/lpd-errs 0 0 0
/var/log/ntpd.log 0 0 0
/var/adm/pacct 0 0 1
/var/adm/wtmpx 30 0 1
/var/adm/lastlog 30 0 1
/var/adm/vold.log 0 0 0
/var/cron/log 1 0 0
/var/cron/olog 0 0 0
/var/lp/logs/lpsched 0 0 0
/pikt/var/log/piktc.log 1 0 0
/pikt/var/log/piktc_svc.log 1 0 0
/pikt/var/log/piktd.log 0 7200 0
/pikt/var/log/piktheartbeat.log 0 7200 0
/pikt/var/log/EMERGENCY.log 0 7200 0
/pikt/var/log/Urgent.log 0 7200 0
/pikt/var/log/Critical.log 0 39600 0
/pikt/var/log/Warning.log 3 0 0
/pikt/var/log/Notice.log 8 0 0
/pikt/var/log/Info.log 8 0 0
/pikt/var/log/Security.log 1 0 0
/pikt/var/log/Debug.log 0 7200 0
/pikt/var/log/Admin.log 1 0 0
/pikt/var/log/PiktcDiff.log 7 0 0
/pikt/var/log/PiktcChecksum.log 7 0 0
/pikt/var/log/AuthLogScan.log 0 0 0
/pikt/var/log/CountsProc.log 0 0 0
/pikt/var/log/ProcZombieTotalCounts.log 0 0 0
/pikt/var/log/MessagesScan.log 0 0 0
/pikt/var/log/SyslogScan.log 0 0 0
/pikt/var/log/AfterHoursUserActivity.log 0 0 0
/pikt/var/log/DiskInfo.log 7 0 0
/pikt/var/log/SystemFileStatChange.log 0 0 0
/pikt/var/log/PiktFileProblems.log 0 0 0
/pikt/var/log/DiskHogs.log 0 0 0
/pikt/var/log/LoadAvg.log 2 0 0
/pikt/var/log/PiktcSvcLogScan.log 0 0 0
/pikt/var/log/CPUUsage.log 0 0 0
/pikt/var/log/SuLogScan.log 0 0 0
/pikt/var/log/SwapLow.log 2 0 0
/pikt/var/log/ShadowFileProblems.log 0 0 0
/pikt/var/log/YPPasswdFileProblems.log 0 0 0
/pikt/var/log/TopLog.log 0 0 0
/pikt/var/log/IostatLog.log 3 0 0
/pikt/var/log/diskdev.pkt.log 0 0 0
/var/log/foo 0 0 0
/pikt/etc/heartbeat                     0               7200    0
/pikt/var/histories/EMERGENCY.hst       1               0       0
/pikt/var/histories/Urgent.hst          1               0       0
/pikt/var/histories/Critical.hst        1               0       0
/pikt/var/histories/Warning.hst         3               0       0
/pikt/var/histories/Info.hst            7               0       0
/pikt/var/histories/Debug.hst           1               0       0
/pikt/etc/EMERGENCY.lock                1               0       0
/pikt/etc/Urgent.lock                   1               0       0
/pikt/etc/Critical.lock                 1               0       0
/pikt/etc/Warning.lock                  1               0       0
/pikt/etc/Notice.lock                   1               0       0
/pikt/etc/Info.lock                     1               0       0
/pikt/etc/Security.lock                 1               0       0
/pikt/etc/Debug.lock                    1               0       0
/pikt/etc/Admin.lock                    1               0       0

Why the difference in spacing?  It's because the top half of this file is generated by the #include of a "virtual file" (the output of an awk process), while the bottom half is the #include of two actual files (fileages_pikt_objects.cfg and fileages_local_objects.cfg).

For more examples, see Samples.

 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
Learn about the
piktd
program