On 10 May 2017 at 16:22, Richard Elling
<richard.ell...@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
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to