I have a following grep(1) command running on FreeBSD 8.0 machine:
[Cmd=]grep -s -r -I -D skip 'string' /[/Cmd]
As I understand, it should ignore binary files, FIFO's and sockets. It has been running more than 48h on my 60GiB HDD and if I check the I/O usage with "top -m io -o total", the grep(PID 26858) has very low I/O usage:
It looks like this grep command actually does not process all the files in the system. Any ideas what might cause this? :OOO
[Cmd=]grep -s -r -I -D skip 'string' /[/Cmd]
As I understand, it should ignore binary files, FIFO's and sockets. It has been running more than 48h on my 60GiB HDD and if I check the I/O usage with "top -m io -o total", the grep(PID 26858) has very low I/O usage:
Code:
PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND
105 root 0 0 0 0 0 0 0.00% adjkerntz
62193 user 1 1 0 0 0 0 0.00% top
62166 user 0 0 0 0 0 0 0.00% sleep
62085 user 0 0 0 0 0 0 0.00% bash
62041 root 0 0 0 0 0 0 0.00% cron
61875 user 0 0 0 0 0 0 0.00% more
61874 user 0 0 0 0 0 0 0.00% zcat
61873 user 0 0 0 0 0 0 0.00% sh
61872 user 0 0 0 0 0 0 0.00% man
61711 user 0 0 0 0 0 0 0.00% sleep
26858 user 0 0 0 0 0 0 0.00% grep
It looks like this grep command actually does not process all the files in the system. Any ideas what might cause this? :OOO