[OmniOS-discuss] Resilver zero progress
Joshua M. Clulow
josh at sysmgr.org
Wed May 10 23:44:56 UTC 2017
On 10 May 2017 at 16:22, Richard Elling
<richard.elling at richardelling.com> wrote:
> mdb’s "::zfs_dbgmsg" macro shows scan progress
You can also watch the messages in real-time using DTrace; e.g.,
dtrace -qn '
BEGIN
{
last = walltimestamp;
}
zfs-dbgmsg
/walltimestamp - last > 10000000000/
{
printf("\n");
}
zfs-dbgmsg
{
printf("%Y %s\n", walltimestamp, stringof(arg0));
last = walltimestamp;
}
'
Cheers.
--
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org
More information about the OmniOS-discuss
mailing list