Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2011 01:15:01 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Identifying disk activity
Message-ID:  <CA%2BtpaK3Y8q1A=jEEEZmn%2BOfn6QVVYN%2BdLxNj59fKQRu0baxaGw@mail.gmail.com>
In-Reply-To: <20110828073051.1ec5b66a.freebsd@edvax.de>
References:  <20110828073051.1ec5b66a.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 28, 2011 at 12:30 AM, Polytropon <freebsd@edvax.de> wrote:

> I am not sure this is related to a program, but I'd like to
> find it out. As FreeBSD's I/O subsystem does not work in
> real-time, I cannot conclude from actual program file I/O
> to physical disk I/O.
>
> Is there a way to force "synchronous disk activity"?
>

well there is the mount -o sync option.

>
> My idea is to watch open files and running programs as
> precise as possible (as root: "top -St -s 0"). Which
> tools (e. g. top, htop, lsof) would you suggest to narrow
> down _which_ program is accessing _which_ file, causing
> the sound?
>

"top -Hm io " has revealed pesky apps in the past for me without using mount
options.

IIRC, you have to use procstat to find if something is using swap.


-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3Y8q1A=jEEEZmn%2BOfn6QVVYN%2BdLxNj59fKQRu0baxaGw>