Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Application Inquiry (http://www.linux-archive.org/ubuntu-user/291954-application-inquiry.html)

neil al 12-07-2009 11:46 PM

Application Inquiry
 
Hi,
May I know what is the meaning of this find command :
/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

I've notice it is executed by nobody user?
Please advise?
Thanks
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Patrick Doyle 12-08-2009 01:43 AM

Application Inquiry
 
On Mon, Dec 7, 2009 at 7:46 PM, neil al <nva0721@gmail.com> wrote:
> Hi,
> May I know what is the meaning of this find command :
> /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

Do you want to know what this command does, or do you want to know why
it happens to be running on your system?

If the former, I'd direct you at the man page for the "find" command,
but, in a nutshell, it is recursively listing all of the files on your
system, stopping at NFS mounted directories, special directories, /tmp
directories, etc...

If the latter, I'm afraid I can't help you.

--wpd

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Werner Schram 12-08-2009 08:43 AM

Application Inquiry
 
Patrick Doyle wrote:
> On Mon, Dec 7, 2009 at 7:46 PM, neil al <nva0721@gmail.com> wrote:
>
>> Hi,
>> May I know what is the meaning of this find command :
>> /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
>>
>
> Do you want to know what this command does, or do you want to know why
> it happens to be running on your system?
>
> If the former, I'd direct you at the man page for the "find" command,
> but, in a nutshell, it is recursively listing all of the files on your
> system, stopping at NFS mounted directories, special directories, /tmp
> directories, etc...
>
> If the latter, I'm afraid I can't help you.
>
It searches for every file on your disk. This command is started by the
updatedb command, which is started once every day at 6:25 (local time)
to update a database of files on your disk. You can use this database
with the locate command (in a terminal) to quickly find files. As far as
I know the database isn't used by any other applications. The process
is started with the ionice command, which means that it shouldn't be
interfering with any other commands, so it shouldn't do any harm to
leave it running.

It might cause your harddisk to make some noise though. If it bothers
you, you could disable or reschedule it.

Werner

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 11:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.