Re: [SLUG] hard drive activity

From: james labocki (jameslabocki@gmail.com)
Date: Fri Oct 17 2008 - 10:32:22 EDT


Use lsof

On Fri, Oct 17, 2008 at 10:27 AM, Eben King <eben01@verizon.net> wrote:

> Is there any way to see either what file is being written or who's doing
> the writing, for a drive or even better a particular filesystem? I have
> automount handling most of my filesystems (those that aren't vital for
> Linux's operation, anyhow), and I find that sda5 (export) and sda6 (media)
> are being remounted quite often, sda5 every 9:55 on average over the last 3
> days, and sda6 less regularly. Maybe something in /proc or /sys?
>
> --
> -eben QebWenE01R@vTerYizUonI.nOetP royalty.mine.nu:81
> LIBRA: A big promotion is just around the corner for someone
> much more talented than you. Laughter is the very best medicine,
> remember that when your appendix bursts next week. -- Weird Al
> -----------------------------------------------------------------------
> This list is provided as an unmoderated internet service by Networked
> Knowledge Systems (NKS). Views and opinions expressed in messages
> posted are those of the author and do not necessarily reflect the
> official policy or position of NKS or any of its employees.
>

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:16:40 EDT