[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what program is running find that is taking up so much of my cpu time this morning?



2011/7/8 Mitchell Laks <mlaks@post.harvard.edu>:
>
> Dear Gurus,
>
> this morning my computer is very sluggish and top says find is running.
>
> I did
>
> ps aux|grep find
>
> with this output
>
> root     25307  0.0  0.0  11132   652 ?        SN   07:42   0:00 /bin/sh /usr/bin/updatedb.findutils
> root     25315  0.0  0.0  11136   352 ?        SN   07:42   0:00 /bin/sh /usr/bin/updatedb.findutils
> nobody   25342  0.0  0.0  56292   904 ?        SN   07:42   0:00 su nobody -s /bin/sh -c /usr/bin/find / -ignore_readdir_race      \( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf -o -fstype ocfs2 -o      -type d -regex '\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\)' \) -prune -o -print0
> nobody   25354  3.6  0.0  13300  1340 ?        DN   07:42   0:17 /usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf -o -fstype ocfs2 -o -type d -regex \(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\) ) -prune -o -print0
>
>
> what utility is doing this find?
>
> thanks,
>
> Mitchell Laks
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: 20110708121128.GA26007@earthlink.net">http://lists.debian.org/20110708121128.GA26007@earthlink.net
>
>
Hi,

I think it is /etc/cron.daily/mlocate wichi internally runs updatedb -
"update a database for mlocate"

Check your /etc/cron.daily/mlocate.

This anacron job runs every day and update your mlocate database.

You can disable it or just move it to /etc/cron.weekly/ or
/etc/cron.monthly/ is up to you.

How many times do you use the mlocate command per day? :-p

Best regards

-- 
Mi nueva dirección es: - My new email address is: - Mon nouveau email est:
juan@elsotanillo.net
----------------------------------------------------------------------------
Usuario Linux Registrado: #257202
http://www.elsotanillo.net
----------------------------------------------------------------------------


Reply to: