Skip to content

Instantly share code, notes, and snippets.

View GrayXu's full-sized avatar

Guanglei Xu GrayXu

View GitHub Profile
#!/bin/bash
# author: louwrentius
# source: http://louwrentius.com/zfs-on-linux-monitor-cache-hit-ratio.html
INTERVAL="$1"
if [ -z $INTERVAL ]
then
INTERVAL=5