CHECK-DISKFREE(8)

✨ CHECK-DISKFREE(8) ✨

okay so bestie, welcome to the check-diskfree page β€” it lives in the System Manager's Manual section 8, and it's genuinely one of the most useful little gremlins in your system. πŸ¦‹


🌸 NAME 🌸

check-free β€” check for mounted filesystems nearing capacity πŸ’…

(yes the title up top says check-diskfree and the name line says check-free, that's just how it is, we don't question the ancestors 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

check-diskfree

πŸ’– DESCRIPTION πŸ’–

So check-diskfree is a plugin β€” it doesn't just run on its own, it gets run by the checksecurity command. The way it works is it goes around scanning your mounted filesystems, and it lets alerts be sent when usage goes past a threshold you set. πŸ”₯

It's a plugin, so it's invoked by checksecurity (8) β€” but only if it's enabled. No cap. πŸ‘‘


🌈 CONFIGURATION 🌈

The check-diskfree.conf file is where you define the configuration variable: CHECK_DISK_PERCENT, which we're about to explain. πŸ’–

  • CHECK_DISK_PERCENT β€” this is the percentage full that a filesystem has to hit before an alert gets sent. Valid values are any numerical value between 1 and 100. ⭐

🧚 FILES 🧚

  • /etc/checksecurity.conf β€” specifies whether this script is invoked 🌸
  • /etc/checksecurity/check-diskfree.conf β€” the configuration file πŸŽ€

mwah, that's the whole page, you ate it, periodt πŸ’…βœ¨

sign-off moment: this one came from Debian Linux, dated 2 February 1997 β€” vintage but iconic, she's been serving since before you were born bestie πŸ«ΆπŸ’€