Skip to content

Instantly share code, notes, and snippets.

@crowtrobot
crowtrobot / getall
Created April 12, 2014 23:37
2nd try get all
This file has been truncated, but you can view the full file.
NAME PROPERTY VALUE SOURCE
zraid1 type filesystem -
zraid1 creation Sat Jan 4 3:50 2014 -
zraid1 used 1.91T -
zraid1 available 1.11T -
zraid1 referenced 136K -
zraid1 compressratio 1.06x -
zraid1 mounted yes -
zraid1 quota none
@crowtrobot
crowtrobot / slab
Created April 12, 2014 23:33
2nd try slab
--------------------- cache ------------------------------------------------------- ----- slab ------ ---- object ----- --- emergency ---
name flags size alloc slabsize objsize total alloc max total alloc max dlock alloc max
spl_vn_cache 0x00020 12288 3696 4096 88 3 2 2 63 42 42 0 0 0
spl_vn_file_cache 0x00020 8192 2016 4096 96 2 1 1 42 21 21 0 0 0
spl_zlib_workspace_cache 0x00140 0 0 8388608 268104 0 0 0 0 0 0 0 0 0
space_seg_cache 0x00020 2023424 1198976 4096 64 494 493 493 18772 18734 18734 0 0 0
ddt_cache 0x00040 1048576 521640 524288 24840 2 1 1 42 21 21 0 0 0
ddt_entry_cache
@crowtrobot
crowtrobot / arcstats
Created April 12, 2014 23:32
2nd try arcstats
5 1 0x01 85 4080 9872010805 1389569654345
name type data
hits 4 576812
misses 4 123788
demand_data_hits 4 51882
demand_data_misses 4 944
demand_metadata_hits 4 429708
demand_metadata_misses 4 104399
prefetch_data_hits 4 132
prefetch_data_misses 4 5976
@crowtrobot
crowtrobot / dmesg
Created April 12, 2014 23:31
second run dmesg
[ 14.779694] Loading iSCSI transport class v2.0-870.
[ 14.782311] iscsi: registered transport (tcp)
[ 14.809085] Bluetooth: Core ver 2.16
[ 14.809106] NET: Registered protocol family 31
[ 14.809107] Bluetooth: HCI device and connection manager initialized
[ 14.809114] Bluetooth: HCI socket layer initialized
[ 14.809117] Bluetooth: L2CAP socket layer initialized
[ 14.809123] Bluetooth: SCO socket layer initialized
[ 14.815544] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.815547] Bluetooth: BNEP filters: protocol multicast
@crowtrobot
crowtrobot / stacks
Created April 12, 2014 23:29
Second try stacks
/proc/1017/stack
[<ffffffff8107711f>] rescuer_thread+0x1ef/0x220
[<ffffffff8107d5e0>] kthread+0xc0/0xd0
[<ffffffff816d666c>] ret_from_fork+0x7c/0xb0
[<ffffffffffffffff>] 0xffffffffffffffff
/proc/1034/stack
[<ffffffff8107711f>] rescuer_thread+0x1ef/0x220
[<ffffffff8107d5e0>] kthread+0xc0/0xd0
[<ffffffff816d666c>] ret_from_fork+0x7c/0xb0
[<ffffffffffffffff>] 0xffffffffffffffff
@crowtrobot
crowtrobot / ps output
Created April 12, 2014 23:27
Second run's ps
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 16:18 ? 00:00:01 /sbin/init
root 2 0 0 16:18 ? 00:00:00 [kthreadd]
root 3 2 0 16:18 ? 00:00:02 [ksoftirqd/0]
root 4 2 0 16:18 ? 00:00:00 [kworker/0:0]
root 5 2 0 16:18 ? 00:00:00 [kworker/0:0H]
root 7 2 0 16:18 ? 00:00:00 [kworker/u:0H]
root 8 2 0 16:18 ? 00:00:00 [migration/0]
root 9 2 0 16:18 ? 00:00:00 [rcu_bh]
root 10 2 0 16:18 ? 00:00:06 [rcu_sched]
--------------------- cache ------------------------------------------------------- ----- slab ------ ---- object ----- --- emergency ---
name flags size alloc slabsize objsize total alloc max total alloc max dlock alloc max
spl_vn_cache 0x00020 16384 5544 4096 88 4 3 3 84 63 63 0 0 0
spl_vn_file_cache 0x00020 12288 4032 4096 96 3 2 2 63 42 42 0 0 0
spl_zlib_workspace_cache 0x00140 0 0 8388608 268104 0 0 0 0 0 0 0 0 0
space_seg_cache 0x00020 1536000 901376 4096 64 375 374 374 14250 14084 14212 0 0 0
zio_cache 0x00020 1015808 386640 32768 1080 31 19 30 899 358 870 0 0 0
zio_link_cache
4 1 0x01 84 4032 9807228473 504173766696
name type data
hits 4 247216
misses 4 26216
demand_data_hits 4 42804
demand_data_misses 4 979
demand_metadata_hits 4 161541
demand_metadata_misses 4 15696
prefetch_data_hits 4 175
prefetch_data_misses 4 590
@crowtrobot
crowtrobot / ps
Created February 23, 2014 21:26
ps list from neon
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 14:02 ? 00:00:01 /sbin/init
root 2 0 0 14:02 ? 00:00:00 [kthreadd]
root 3 2 0 14:02 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 14:02 ? 00:00:00 [kworker/0:0H]
root 6 2 0 14:02 ? 00:00:00 [kworker/u:0]
root 7 2 0 14:02 ? 00:00:00 [kworker/u:0H]
root 8 2 0 14:02 ? 00:00:00 [migration/0]
root 9 2 0 14:02 ? 00:00:00 [rcu_bh]
root 10 2 0 14:02 ? 00:00:01 [rcu_sched]
@crowtrobot
crowtrobot / get_all
Created February 23, 2014 01:19
get all of my zpool
NAME PROPERTY VALUE SOURCE
zraid1 type filesystem -
zraid1 creation Sat Jan 4 3:50 2014 -
zraid1 used 1.50T -
zraid1 available 1.52T -
zraid1 referenced 136K -
zraid1 compressratio 1.06x -
zraid1 mounted yes -
zraid1 quota none