read contents of objset file (#1632)
* added objread functionality Signed-off-by: Sudharshann D <sudhar287@gmail.com>
This commit is contained in:
parent
f87e566df9
commit
6807e5319b
9 changed files with 238 additions and 6 deletions
9
collector/fixtures/proc/spl/kstat/zfs/pool1/objset-1
Normal file
9
collector/fixtures/proc/spl/kstat/zfs/pool1/objset-1
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
23 1 0x01 7 2160 221578688875 6665999035587
|
||||
name type data
|
||||
dataset_name 7 pool1
|
||||
writes 4 0
|
||||
nwritten 4 0
|
||||
reads 4 0
|
||||
nread 4 0
|
||||
nunlinks 4 0
|
||||
nunlinked 4 0
|
||||
9
collector/fixtures/proc/spl/kstat/zfs/pool1/objset-2
Normal file
9
collector/fixtures/proc/spl/kstat/zfs/pool1/objset-2
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
24 1 0x01 7 2160 221611904716 7145015038451
|
||||
name type data
|
||||
dataset_name 7 pool1/dataset1
|
||||
writes 4 4
|
||||
nwritten 4 12302
|
||||
reads 4 2
|
||||
nread 4 28
|
||||
nunlinks 4 3
|
||||
nunlinked 4 3
|
||||
9
collector/fixtures/proc/spl/kstat/zfs/poolz1/objset-1
Normal file
9
collector/fixtures/proc/spl/kstat/zfs/poolz1/objset-1
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
30 1 0x01 7 2160 217993779684 2621674546179
|
||||
name type data
|
||||
dataset_name 7 poolz1
|
||||
writes 4 0
|
||||
nwritten 4 0
|
||||
reads 4 0
|
||||
nread 4 0
|
||||
nunlinks 4 0
|
||||
nunlinked 4 0
|
||||
9
collector/fixtures/proc/spl/kstat/zfs/poolz1/objset-2
Normal file
9
collector/fixtures/proc/spl/kstat/zfs/poolz1/objset-2
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
31 1 0x01 7 2160 218133979890 3024169078920
|
||||
name type data
|
||||
dataset_name 7 poolz1/dataset1
|
||||
writes 4 10
|
||||
nwritten 4 32806
|
||||
reads 4 2
|
||||
nread 4 28
|
||||
nunlinks 4 14
|
||||
nunlinked 4 14
|
||||
Loading…
Add table
Add a link
Reference in a new issue