#vfs #性能 #illumos #smartos #kstat

应用 vfsops

按桶组报告VFS操作异常

2个版本

使用旧的Rust 2015

0.1.1 2018年12月10日
0.1.0 2018年12月7日

#16#illumos

MIT 许可证

10KB
173

vfsops

输出所有运行区域的所有VFS操作的桶。

第一个输出显示自启动以来的历史数据,而后续输出显示自上次间隔(目前硬编码为5秒)以来的差异。

使用方法

vfsops 0.1.0
Mike Zeller <mike@mikezeller.net

The vfsops utility reports vfs operation outliers. A count of the number of operations are grouped
into 10ms, 100ms, 1s, and 10s buckets. The first line of output represents a zone's outliers since
boot, while sequential lines show how many operations have occured during the INTERVAL. By default
vfsops will only output zones that have a non zero value for all buckets.


USAGE:
    vfsops [FLAGS] [OPTIONS] <INTERVAL> [COUNT]

FLAGS:
    -H               Don't print the header
    -Z               Print zones with no activity
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -z, --zone <ZONE>    Print data for a specific zonename

ARGS:
    <INTERVAL>    Print results per inverval rather than per second
    <COUNT>       Print for n times and exit

示例

# vfsops -Z 1 5
    zone   10ms_ops  100ms_ops     1s_ops    10s_ops
61ff1cb8       3349        111          0          0
61ff1cb8          0          0          0          0
61ff1cb8          0          0          0          0
61ff1cb8          0          0          0          0
61ff1cb8          0          0          0          0

依赖项

~1MB