RE: Assistance finding out what process is writing to the disk drive

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

 



-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Richard Shaw
Sent: 30 November 2009 10:56 PM
To: Community assistance, encouragement,and advice for using Fedora.
Subject: Re: Assistance finding out what process is writing to the disk drive

On Mon, Nov 30, 2009 at 2:44 PM, John Nissley <jnissley@xxxxxxxxxxx> wrote:
> I have a Fedora 11 server running 2.6.30.9-96.fc11.x86_64.  I recently
> noticed that my hard drive light is on constantly and was wondering how I
> can determine what is accessing the hard disk so much.  After boot the hard
> disk is acting normally for a few minutes to a few hours and then the hard
> drive light is lit up constantly.
>
> I have tried ps -ef to see if there was anything running that I do not know
> about and there is not.  Is there any way for me to determine which process
> is consistently using the hard disk?

I use iotop but there is probably a way to do it without installing
anything new...

Richard


You could parse the output of lsof. A script such as the one at http://www.linuxquestions.org/questions/linux-kernel-70/how-to-track-which-process-is-accessing-disk-505736/#post2523041 can do that for you.

Sanya


********************
Nedbank Limited Reg No 1951/000009/06. The following link displays the names of the Nedbank Board of Directors and Company Secretary. [ http://www.nedbank.co.za/terms/DirectorsNedbank.htm ]
This email is confidential and is intended for the addressee only. The following link will take you to Nedbank's legal notice. [ http://www.nedbank.co.za/terms/EmailDisclaimer.htm ]
********************


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux