Logs

From popdata
Jump to: navigation, search

Admin Logs

Cleaning logs

Mackenzie

  • Syspulse on Mackenzie (RZ) fills /home/syspulse , especially subdirectory "logs"
    • /usr/local/bin/compres-syspulse-logs.sh will move files from "logs/" to a dated subdirectory and compress them
    • and then tar all files in output/done/ (new file every 10m for each system = 10 million per year), and delete all log files except those modified after start of "tar".

Cabot

  • Syspulse on Cabot (RZ) fills /home/syspulse , especially subdirectory
    • /usr/local/bin/compress-syspulse-logs.sh should move files (one per system) from "logs/" to a dated subdirectory and compress them
    • and then compress all files in output/done/ (one new file every day).
    • and then compress all files in "output/olddb" (one per day).