PIKT

Samples: File Age Limits

PIKT Logo
Home FAQ News Intro Samples Tutorial Reference Software Authors Licensing SiteSearch


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 FileUpdatesUrgent script, and sources from the example fileages_objects.cfg file.

/var/log/syslog 0 14400 0
/var/adm/messages 7 0 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 | Authors | Licensing | SiteSearch
Links | SiteIndex | Pikt-Users | Pikt-Workers | Contribute | ContactUs | Top of Page
Page best viewed at 1024x768.   Page last updated 2005-06-22.
This site is PIKT® powered.
PIKT® is a registered trademark of the University of Chicago.
Copyright © 1998-2005 Robert Osterlund.  All rights reserved.

Computer Books at Amazon.com

Linux Cookbook
Linux Cookbook

Essential CVS
Essential CVS

CVS Pocket Reference
CVS Pocket Reference

Running Linux
Running Linux

Sams Teach Yourself SuSE Linux in 24 Hours Starter Kit
Sams Teach Yourself SuSE Linux in 24 Hours Starter Kit