On 10/27/15 10:08 , Richard PALO wrote:
> Not to belabour this issue too much, I do have
> a question on how to determine what may be writing to rpool so much
>
> I have
>> richard@omnis:/home/richard$ swap -lh
>> swapfile dev swaplo blocks free
>> /dev/zvol/dsk/dpool/swap 90,2 4K 48G 48G
>
> TMPDIR=/tmp or thereunder ... eg
>> richard@omnis:/home/richard/src/illumos-gate$ grep TMPDIR= nightly.sh
>> TMPDIR="/tmp/nightly.tmpdir.$$"
>
> but I see what seems to be a *lot* of writes...
>
> probably things under /var but any straight forward way
> on how to find out who?
A simple rough way to do this is something like (but could likely miss
things done via other means:
dtrace -n 'syscall::write:entry/strstr(fds[arg0].fi_pathname, "/var") !=
NULL/{ @[execname] = count(); }' -n 'tick-1s{ printa(@); trunc(@); }'
Robert
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com