← All courses

Running a server

Keep a server in good shape: logs get rotated, the disk never fills up, services come back on their own, and backups are in place.

17 tasks
  1. Count a user's processeseasy
  2. Write a service's PID to a pidfilemedium
  3. Who took port 8080?medium
  4. Find the process eating your CPUmedium
  5. Disk is fullmedium
  6. Archive old logsmedium
  7. Auto-cleanup of temporary filesmedium
  8. Set up log rotationmedium
  9. Daily Rotation with a Datemedium
  10. Cron with MAILTO and PATHmedium
  11. Write a healthcheckmedium
  12. Disk alert scriptmedium
  13. Mirror backup with rsyncmedium
  14. The queue worker's log ate the diskmedium
  15. systemd: write and validate a unitmedium
  16. Keep a daemon alive with supervisormedium
  17. A Group of Services in supervisormedium