Is there a 'quick' du command ?
OS : Centos 6.[3|4|5]
Setup : An NFS mounted volume which has a deep directory structure with lots of little files. NFS share lives on a NAS.
by deep, i mean many little directories and sub-directories with lots of little files.
Problem : If I want to find the disk space used by this directory, I run the du -shc command, which takes ages !
Is there a quicker way to do it ? I don't mind if the end result is a bit off by 5 to 10 %
I could run the find command, but that takes ages too. Looking for something which is as quick as df.
This directory sits with other files and directories, or i would have used the df command.
Appreciate your time.
Last edited by mustoofa; 08-05-2014 at 03:46 AM.
Reason: corrected wrong versions of centos
|