LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2007, 02:44 AM   #1
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Rep: Reputation: 30
Hard disk activity


Hello folks,
Some time I find that there is a lot of hard disk activity. And I am sure this is happenning with everybody. There is no problem in my opinion, becasue normally many house keeping activities would cause hard disk activity.
But can I somehow find out (in detail) as to what is causing this activity.

Thanks in advance.


Prabhat Soni
 
Old 07-17-2007, 03:10 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Code:
top
is a good start. Also check out the 'ps' command for more information.

There could well be something like "updatedb" running (that would update the (s)locate database, and is run once a day by default if I'm right), or something else that is run when the system finds out that you're not using it (resources free). Fedora systems run prelink (well, I could be 100% wrong with that process name, I don't use Fedora daily) or something like that at times, to speed up things, and it does it fairly often.
 
Old 07-17-2007, 05:04 AM   #3
prabhatsoni
Member
 
Registered: Oct 2004
Location: India
Distribution: FC 12
Posts: 233

Original Poster
Rep: Reputation: 30
Thanks.

Ihad already checked "top" but it contained cpu loading. I was not able to find out the exact cause of hard disk activitity.

May be there are some other places to look into.


Prabhat Soni

Last edited by prabhatsoni; 07-17-2007 at 05:09 AM.
 
Old 07-17-2007, 07:48 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Well chances are that whatever is on the top of your CPU load is whats causing the drive activity. Thats not always going to be the case but have a look, one of the top few will most likely be your culprit.
 
Old 07-17-2007, 03:25 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by prabhatsoni
Hello folks,
Some time I find that there is a lot of hard disk activity. And I am sure this is happenning with everybody. There is no problem in my opinion, becasue normally many house keeping activities would cause hard disk activity.
But can I somehow find out (in detail) as to what is causing this activity.

Thanks in advance.


Prabhat Soni

In detail this can be difficult. While the suggestions given so far have been really useful, one problem that has not been discussed so far is swapping. If you are using more memory than you have got (more virtual memory than your amount of RAM) then almost anything that you do will cause a flurry of swapping. You could then conclude that the last thing that you have done is disk intensive, when that is not really a good interpretation.

If you are using kde, the ksysguard tool is good as you can look at whether your ram is fully utilised with the same tool that you use to look at processes. You could even set it up to instrument the traffic into and out of partitions (although this gets hard to understand with intricate partition systems). Gnome has a similar tool, but I forget the name.

I've got one box that does more hard disk activity than I would like, but I know this is down to a dhcp error, leading to frequent writes to log files. So, another thing you might want to look at is whether you have any log files that are growing out of control.
 
  


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
Hard Disk Activity ??? mike160 Slackware 8 04-02-2006 06:06 PM
Incessant hard disk activity - proc/bus/pci emeskay Linux - Newbie 3 12-09-2004 07:17 PM
hard disk activity patkim Linux - General 5 06-04-2004 01:00 PM
A lot of hard disk activity? HoosTrax Linux - Hardware 14 03-04-2004 07:36 PM
CPU at 100% along with non stop hard disk activity biotek1 Fedora 6 02-05-2004 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 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