Unsolved

This post is more than 5 years old

569

August 6th, 2013 04:00

How can i calc sub-folder size(stored data and disk usage) and file count in /ifs/ folder?

Hi all

  i have a folders in /ifs, like /ifs/abc/; /ifs/def/; /ifs/ghi

  how can i calculate the size of data stored on this sub folders and file count, each separately

             /ifs/abc/   - size(data stored and space used), file count

             /ifs/def/    - size, file count

             /ifs/ghi/    - size, file count

--

Best regards

Vladimir Ilyin

4 Operator

 • 

1.2K Posts

August 6th, 2013 07:00

du -s -m -A /ifs/abc            --> data (in MB)

du -s -m    /ifs/abc            --> space (with protection overhead, but not snapshots)

find /ifs/abc -type f | wc -l   --> files

These commands take their time... why not a single command can return

all figures in one run, that remains a mystery of the UNIX shell tools....

Isilon SmartQuotas return all values in a fraction of a second,

but require a $eparate licen$e (which we always found to be worth the money!)

-- Peter

2 Intern

 • 

467 Posts

August 6th, 2013 07:00

All of these tools a great,  but you're right in them taking some time to run... sometimes a lot of time... That's one of the reasons I like InsightIQ... I've been working on a blog post to quest the InsightIQ data collected directly,  rather than from the GUI... but i've been to busy to complete it..

No Events found!

Top