LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-30-2008, 10:14 AM   #1
DoME69
Member
 
Registered: Jan 2008
Posts: 189

Rep: Reputation: 16
how could i get real time total size of directory?


how could i get real time total size of new directory that i copy?

when i try to use "du -ka" its waiting for copy finished and then the total size is shown
 
Old 07-30-2008, 10:47 AM   #2
Vit77
Member
 
Registered: Jun 2008
Location: Toronto, Canada
Distribution: SuSE, RHEL, Mageia
Posts: 132

Rep: Reputation: 17
If you start du on another screen, it should work correctly.

To start some program periodically, there is watch command:

Code:
watch "du -s /your/dir"
 
  


Reply



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
BASH : Total directory size xgreen Programming 7 03-04-2013 05:33 AM
Total size of directory and zipped files veeruk101 Linux - Newbie 1 07-17-2007 10:32 PM
Monitor directory size in real-time billygoat32 Linux - Software 2 10-28-2005 09:21 AM
finding size of total files in a directory blackzone Linux - Newbie 3 01-07-2005 03:01 AM
How to list total file size of a directory phil1076 Linux - General 3 12-18-2003 03:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:10 PM.

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