Think about Loose Coupling | |
PerlMonks |
Re: Re: Re: Disk usage by customerby Anonymous Monk |
on Oct 09, 2002 at 11:05 UTC ( [id://203882]=note: print w/replies, xml ) | Need Help?? |
I don't see it. Do du -kx, parse the results, then postprocess. Your usage is the usage of your directory minus all of the subdirectories that are owned by someone else. Which is just simple arithmetic. Plus du already should handle tricky issues, like the space it takes for a directory to hold the names of the files in the directory. Beyond that, you need to get a certain amount of information over your network. See how du performs. If you can, then run du from a machine right next to your NAS to save what you can from the network. Perhaps you can even run it on the NAS box?
In Section
Seekers of Perl Wisdom
|
|