How do I check current pool activity?

Octopuss

Patron
Joined
Jan 4, 2019
Messages
461
Or more specifically, what the current, say read transfer rate of the pool in MB/s is?
I absolutely don't understand the reports window at all.
There are da1-3 disks in the system, but reports list cd0 and da0 on top of that. There's no way to select the pool itself either, as far as I can tell...
 

Octopuss

Patron
Joined
Jan 4, 2019
Messages
461
The latest.
 

colmconn

Contributor
Joined
Jul 28, 2015
Messages
174
From the command line (I'd recommend you ssh in to the box you can use zpool to show you the activity on the pool. For example
Code:
zpool iostat -T d ssd 5 10

which shows the activity on the pool named 'ssd' in 5 sec intervals for 10 repetitions with a time stamp (-T d) will result in the following output:
Code:
               capacity     operations    bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
ssd         41.0G   180G      4    118  73.2K  1.04M
Fri May 17 09:17:01 EDT 2019
ssd         41.0G   180G      1    108  8.00K   702K
Fri May 17 09:17:06 EDT 2019
ssd         41.0G   180G      0    142    818  1.04M
Fri May 17 09:17:11 EDT 2019
ssd         41.0G   180G      0    114      0   689K
Fri May 17 09:17:16 EDT 2019
ssd         41.0G   180G      0     91    818   611K
Fri May 17 09:17:21 EDT 2019
ssd         41.0G   180G      0    106    817   652K
Fri May 17 09:17:26 EDT 2019
ssd         41.0G   180G      0    110      0   841K
Fri May 17 09:17:31 EDT 2019
ssd         41.0G   180G      0    135      0  1.09M
Fri May 17 09:17:36 EDT 2019
ssd         41.0G   180G      0     97    818   619K


If you're interested in the activity on the raw drives you can use gstat. For example, to show only information for drives named da0, da1, da10, etc and ada0, ada1, ada10 etc you can use a command such as

Code:
gstat -f 'a?da[0-9]+$'


gstat will by default include info on all geom devices, much of which I find redundant hence the filter.
 

Octopuss

Patron
Joined
Jan 4, 2019
Messages
461
Wait, there's nothing like that in the GUI? Um, why? It shows wholw bunch of useless stuff, but not current transfer speeds?
 
Top