LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2006, 12:46 PM   #1
atomas123
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
maintenance program


hi
I use Suse 10.1, and every now and then at night the hard drive is very active for 30 minutes or more. eventhough I am not working on the computer.

is it some maintenance program that act like that?

I have look at the active processus, but I must admit I am kind of lost.
 
Old 09-10-2006, 12:53 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
As user root, type
Code:
crontab -l | grep -v ^#
and post the output.
 
Old 09-10-2006, 01:09 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Chances are it's your slocate DB updating, most distro automatically have it done at 12am every night.
 
Old 09-10-2006, 03:30 PM   #4
atomas123
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: 0
crontab

I have tried crontab -l | grep -v ^#
as root and as user
and the result is no crontab for either one
 
Old 09-10-2006, 03:46 PM   #5
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
That's strange.
The next time, run `top` when your computer becomes busy again and watch what processes are running at that time.
 
Old 09-10-2006, 04:07 PM   #6
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I'm using OpenSuSE v10.1 and I've been running SuSE desktop distributions since v9.0. I suspect that, as cs-cam suggested, the system is running updatedb to update the database that is used by the locate command.

The *SuSE system has several cron files for the system. It's an irritating "feature". Here are the locations of the various crontab files for system maintenance jobs.
Code:
$ ls /etc/*cron*
/etc/cron.deny  /etc/crontab  /etc/sysstat.cron

/etc/cron.d:
sysstat

/etc/cron.daily:
beagle-crawl-system       suse.de-check-battery  suse.de-update-preload
logrotate                 suse.de-clean-core     suse-do_mandb
suse-clean_catman         suse.de-clean-tmp      suse-tetex
suse.de-backup-rc.config  suse.de-cron-local
suse.de-backup-rpmdb      suse.de-updatedb

/etc/cron.hourly:

/etc/cron.monthly:

/etc/cron.weekly:
wwwoffle
You can see that /etc/cron.daily directory contains a file called suse.de-updatedb. This is the actual script that is run to update the file that is used by the locate utility. I think that the whole "feature" of these cron jobs is directed by the file /etc/crontab with the line:
Code:
-*/15 * * * *   root  test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1
Here you can see that this tells the normal system cron daemon to run a file called /usr/lib/cron/run-crons. This is a bash shell script. This is really as far as I care to investigate this idiotic trail of scripts that Novell SuSE has in place. Nevertheless it is clear that /etc/crontab runs /usr/lib/cron/run-crons which then decides what maintenance scripts to run.

Last edited by stress_junkie; 09-10-2006 at 04:09 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Amigo down for maintenance... gnashley Amigo 2 09-16-2005 03:56 AM
Linux maintenance Ageless Linux - Newbie 7 04-29-2005 09:52 AM
what about maintenance? jaan kaer Linux - Newbie 4 01-13-2004 06:54 AM
system maintenance vicente Linux - Newbie 2 08-31-2001 04:34 PM
maintenance te_conway Linux - Newbie 1 08-31-2001 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

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