Gentoo Archives: gentoo-user

From: lee <lee@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to find out to what file(...) writes goes on a idle system...
Date: Sat, 06 Dec 2014 11:27:20
Message-Id: 87mw71vx11.fsf@gulltop.yagibdah.de
In Reply to: [gentoo-user] How to find out to what file(...) writes goes on a idle system... by meino.cramer@gmx.de
1 meino.cramer@×××.de writes:
2
3 > Hi,
4 >
5 > on different systems I see the write stats (/proc/dikstats) to
6 > physical existing disks steadily increasing.
7 > Looking at the output of lsof I cannot find any file suspicous
8 > for receiving those writes.
9 >
10 > In the context of preserving the live of flash media by minimizing
11 > the count of unessary writes I want to know which
12 > application/daemon/etc is continous writing to that media and which
13 > """entity""" (file/pipe/fifo...) is receiving those writes...
14 >
15 > How can I find that information?
16
17 iotop might tell you.
18
19 Since you don't see anything in lsof, I'd assume that the file (if it's
20 a file) is opened and closed rather than being kept open. Or could it
21 be a swap partition which is used?
22
23
24 --
25 Again we must be afraid of speaking of daemons for fear that daemons
26 might swallow us. Finally, this fear has become reasonable.

Replies