<< Back to man.ChinaUnix.net

5.13. Using Pool Volume Statistics

The pool_info command can be used to display pool read-write information and to clear statistics from pools.

Using the pool_info command with the -s option displays the number of reads and writes for the named pool(s) since the last time the pool was activated or statistics were cleared.

Using the pool_info command with the -c option clears statistics from the named pools.

5.13.1. Usage

Display the Number of Reads and Writes

pool_info -s [PoolName]

PoolName

Specifies the pool name for which to display information. If no pool names are specified, all active pools are displayed.

Clear Statistics

pool_info -c [PoolName]

PoolName

Specifies the pool name(s) from which statistics are cleared. If no pool names are specified, statistics are cleared from all active pools.

5.13.2. Examples

This example displays statistics for all activated pools:

pool_info -s

This example displays statistics for pool0:

pool_info -s pool0

This example clears statistics for pool0:

pool_info -c pool0