Date: Tue, 1 Mar 2016 09:45:37 -0500 From: Michael Butler <imb@protected-networks.net> To: Eric van Gyzen <vangyzen@FreeBSD.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: continuous stream of writes? Message-ID: <56D5AB11.7090307@protected-networks.net> In-Reply-To: <56D5AA10.5090703@FreeBSD.org> References: <56D5A59E.8040608@protected-networks.net> <56D5AA10.5090703@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/01/16 09:41, Eric van Gyzen wrote:
> On 03/01/2016 08:22, Michael Butler wrote:
>> On an otherwise idle machine, I now see a continuous stream of writes to
>> disk. I've only noted this over the last couple of weeks but this will
>> not be welcome behaviour on an SSD ..
>>
>> How do I find the source of these writes?
>>
>>
>> imb@toshi:/home/imb> iostat 10
>> tty ada0 cd0 pass0 cpu
>> tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id
>> 0 992 58.53 229 13.10 0.00 0 0.00 0.37 0 0.00 13 2 7 1 78
>> 0 23 30.82 12 0.36 0.00 0 0.00 0.00 0 0.00 2 0 4 0 94
>> 0 8 31.38 12 0.37 0.00 0 0.00 0.00 0 0.00 0 0 4 0 96
>> 0 8 31.75 11 0.34 0.00 0 0.00 0.00 0 0.00 3 0 3 0 94
>> 0 8 31.82 11 0.35 0.00 0 0.00 0.00 0 0.00 1 0 3 0 96
>> 0 8 31.76 12 0.36 0.00 0 0.00 0.00 0 0.00 0 0 3 0 96
>> 0 8 31.75 11 0.35 0.00 0 0.00 0.00 0 0.00 1 0 4 0 95
>> 0 8 31.55 12 0.38 0.00 0 0.00 0.00 0 0.00 1 0 3 0 96
>>
>
> The I/O mode of "top" might be useful:
>
> top -m io
Well that's different .. KDE konsole .. why on earth .. ?
last pid: 54891; load averages: 0.32, 0.45, 0.48
up
0+17:32:51 09:43:58
102 processes: 1 running, 101 sleeping
CPU: 1.4% user, 0.0% nice, 4.1% system, 0.0% interrupt, 94.5% idle
Mem: 463M Active, 1599M Inact, 708M Wired, 255M Buf, 196M Free
Swap: 4096M Total, 500M Used, 3596M Free, 12% Inuse
PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT
COMMAND
1395 imb 4 1 0 0 0 0 0.00%
gkrellm --sm-client-id 1038b38f3a6339000140789027600000013050011
1498 imb 275 55 0 0 0 0 0.00%
/usr/local/bin/firefox
1478 imb 33 7 0 22 0 22 100.00%
kdeinit4: kdeinit4: konsole (kdeinit4)
1136 root 16 6 0 0 0 0 0.00%
/usr/local/bin/X -br -novtswitch -quiet :0 -nolisten tcp -auth
/var/run/xauth/A:0-xl3Taa (Xorg)
1345 imb 35 5 0 0 0 0 0.00%
kwin -session 1038b38f3a6339000144659063000000424580056_1456780081_701192
5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56D5AB11.7090307>
