Linux Today: Linux News On Internet Time.





More on LinuxToday


Shell Script To Monitor Disk Usage On Linux and Unix

Jun 05, 2008, 06:00 (1 Talkback[s])
(Other stories by Mike Tremell)

WEBINAR:
On-Demand

Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js


[ 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..."

Complete Story

Related Stories: