Go to main content

手册页部分 8:系统管理命令

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

shadowstat(8)

名称

shadowstat - report shadow migration statistics

用法概要

/usr/sbin/shadowstat [count]
/usr/sbin/shadowstat -D /path [count]
/usr/sbin/shadowstat -E
/usr/sbin/shadowstat -e /path

描述

The shadowstat utility reports statistics or error information for in-progress shadow migrations. By default, with no arguments, a line of statistics output is presented for each migrating file system; the output looks similar to the following:

                        EST
                BYTES   BYTES           ELAPSED
DATASET         XFRD    LEFT    ERRORS  TIME
pool/newfs      2.10M   28.8G   -       00:02:45

Each line identifies bytes transferred thus far, a rough estimate of bytes left to transfer, number of migration errors, and the time elapsed since the migration was started.

The –D option may be used to specify the mount path for a particular dataset of interest, data for any other migrations in progress will not be listed.

If count is unspecified, updated values are presented every few seconds until the program is terminated. If count is specified, updates only occur count times, after which the program exits.

The –E option can be used to obtain a list of files that have errors preventing their migration. There will be a list for each in-progress migration.

The –e option can be used to obtain a list of files that have errors preventing their migration for the specified file system.

A user must have the solaris.admin.shadow-migration.read authorization to use this command.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/shadow-migration
Interface Stability
Committed

另请参见

attributes(7), shadowd(8), zfs(8)