OS Analysis examples
- Disk statistics
fstyp -v
vxdiskusg
- Report of large files ɱMB by find
find / \( -fsonly hfs -o -fsonly vxfs \) -size +5000000c -exec ll {} \;
- Report of files ɭMb and older than 120 days
find / \( -fsonly hfs -o -fsonly vxfs \) \( -atime +120 -a -size +1000000c -print | xargs -n1 ll
- Report the crontabs
ls /usr/spool/cron/crontabs/* | xargs -I -t cat \{} 2>&1 | tee -a $DESTF
Author | Title | Track | Home