Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-02-2015, 11:00 PM   #1
LQ Newbie
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
Live monitoring of directory size with notifications

When I set up my current MythTV server, one of the optimizations I implemented was to move the /tmp directory to a RAM disk. This has generally worked well, but recently I've had a few /tmp directory blowups where things stopped working because the size of /tmp got too big and everything started failing.

Since this happens so rarely and I'd like to diagnose the problem, I want to set up a way of being notified when /tmp gets to, say, 80% full so I can check on it and see what is filling it up before it fails.

I was investigating iwatch and inotify, but couldn't figure out how to get them to tell me if a directory was getting full.

So if anyone has suggestions for monitoring a directory's size so I can get a notification when it crosses a threshold, I would be very appreciative.
Old 01-03-2015, 04:07 PM   #2
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Welcome to LQ.
Have a look at


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: World Live DDoS attack maps Live DDoS Monitoring LXer Syndicated Linux News 0 08-09-2014 08:30 PM
Webmin - Send monitoring notifications through gmail rather than local mail server adenicol Linux - Server 7 02-22-2012 11:49 AM
Network services monitoring tool.. how to send text notifications by SMS to admins linuxFreshMan Linux - Networking 2 08-26-2011 08:56 PM
[SOLVED] home directory size monitoring script allancuntapay Programming 6 11-07-2009 06:59 AM
Urgent !!! monitoring directory size using bash juby Programming 4 07-22-2004 05:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration