LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-02-2004, 06:23 AM   #1
ianunderwood
Member
 
Registered: Apr 2003
Location: Edinburgh, Scotland, UK
Distribution: SuSE 9.2, VectorLinux 3.2
Posts: 68

Rep: Reputation: 15
Find runs when idle


I've noticed that when the system is `idle' -- i.e. I'm away from the keyboard -- the harddrive sometimes fires up for longish periods. I looked at the process table and noticed that `find' is using (up to) 5% system resources (login: nobody) and everything else is on 0.00. Therefore, I conclude that it is `find' which is causing the hd activity. If I do something like open the web browser, the find process stops (so it must be controlled on the basis of priority, I guess).

What is telling `find' to run, and what is it looking for? I'm using KDE 3.1.4 on SuSE 9.0.

Best

Ian
 
Old 04-02-2004, 06:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
probably updatedb running through cron. this will save a snapshot of your files which can be instantly searched by using the locate command. by default this typically runs at abot 2am, but this is obviosuly just dependent on the distro itself.
 
Old 04-02-2004, 07:58 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Huh? I thought find searches the directory-tree and locate has the database maintained by updatedb (which I run manually as needed). Was I wrong?
 
Old 04-02-2004, 11:17 AM   #4
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
You weren't wrong, but what does updatedb use to build the database? I assume it uses "find"
 
Old 04-05-2004, 01:17 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Hm. Why not e.g. ls?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find idle in Fedora Core 1 JDW Fedora 3 06-04-2004 06:26 PM
How to find out idle time at console? redss Linux - General 1 04-26-2004 10:23 PM
HD runs/searches when computer is idle? DougC Fedora 2 03-04-2004 07:01 AM
Postfix runs until reboot and can't find firewall joshuamorin Linux - Software 1 01-11-2002 07:23 AM
Postfix runs until reboot and can't find firewall joshuamorin Linux - Newbie 0 01-11-2002 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration