LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-28-2005, 09:14 AM   #1
billygoat32
LQ Newbie
 
Registered: Oct 2005
Distribution: Debian (stable, testing, unstable)
Posts: 4

Rep: Reputation: 0
Monitor directory size in real-time


Is there a way to monitor a directory size in real time, so I can "watch it grow"?

I know about du -h --max-depth=1 to get the current size, but I don't like having to keep attending to it to watch the size.

TIA
 
Old 10-28-2005, 09:28 AM   #2
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 356

Rep: Reputation: 43
The aptly named "watch" will help you.

Code:
watch "du -h --max-depth=1"
 
Old 10-28-2005, 10:21 AM   #3
billygoat32
LQ Newbie
 
Registered: Oct 2005
Distribution: Debian (stable, testing, unstable)
Posts: 4

Original Poster
Rep: Reputation: 0
Awesome, that works great.

Thanks a bunch
 
  


Reply


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
console screen size only 1/2 of monitor size infamous41md Linux - Newbie 9 05-20-2006 01:08 PM
Graphical real-time bandwidth monitor ??? khermans Linux - Software 5 05-10-2004 10:54 PM
real-time OS h/w Programming 11 01-24-2004 09:28 PM
NIC real time status / traffic monitor? KendersPlace Linux - Networking 3 09-10-2003 02:38 AM
run real time echox Programming 3 04-03-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 AM.

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