Hi all,

I don't know if you're familiar with recoll, it's a very handy xapian based 
desktop search engine system. I'm trying to index a really big folder 
containing lots of files (18M), the disk size is ~220Gig. The files are quite 
small text files (mean size ~ 1K).

The OS is latest leopard.

I think the process is io-bound.
63061 recollinde  10.4%  3:58:06   1    15    486  435M   188K   435M   452M

I'm using those 2 scripts found here: 
http://www.sun.com/software/solaris/howtoguides/dtracehowto.jsp#3

#!/usr/sbin/dtrace -qs
BEGIN
{
   printf("%10s %58s %2s\n", "DEVICE", "FILE", "RW");
}
io:::start
{
   printf("%10s %58s %2s\n", args[1]->dev_statname, args[2]->fi_pathname,
      args[0]->b_flags & B_READ ? "R" : "W");
}
#!/usr/sbin/dtrace -s
syscall::write:entry
{
   @[ustack()]=count();
} 

Do you know how I could proceed ?
Watching the size of the write ?

Thanks,
- Benjamin
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to