[ Thanks to Mike
Golvach for this link. ]
“Today, we’re going to take a look at a simple shell script to
monitor disk space usage. It’s been quite a while since we’ve touch
on that, going back to a post from last November regarding finding
space hogs on overlay mounts. The script has been kept simple
(basically checking every partition for one fixed percentage full)
to highlight other features.“The main intent here was to set up a monitor that would be able
to handle a variety of Linux and Unix Operating Systems (all
dependent on the ‘uname -s’ output from that system) and focus on
that area distinctly. We’ve limited our initial list to HP-UX,
Solaris, SCO and OpenBSD…”