Q about Coro file::find
al-anyevent at none.at
Tue Jan 31 19:49:49 CET 2012
On 31-01-2012 18:40, Zsbán Ambrus wrote:
> On 1/31/12, Aleksandar Lazic <al-anyevent at none.at> wrote:
>> I have a NFS-Share and I want to parallel the
>> du -sm /NFS-SHARE
> I don't really understand your goal. You want to do what things in
> parallel and why?
du -sm /NFS-SHARE/dir1
needs hours to examine the size of dir1, due to the fact that it is
~95GB big and have a lot of files and directories.
I want to use more then one process which goes sequentially thru the
1 thread/process/coro goes thru glob(/NFS-SHARE/dir1/[Aa]*)
1 thread/process/coro goes thru glob(/NFS-SHARE/dir1/[Bb]*)
up to n thread/process/coro.
At the end summarize all collected Data.
>> I have used the File::Find like the program at the end.
More information about the anyevent