From 5869505d64c04c536bdcd71a197ade918c36bf1c Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 10 Aug 2014 11:19:38 +0100 Subject: init --- mdstat | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 mdstat (limited to 'mdstat') diff --git a/mdstat b/mdstat new file mode 100755 index 0000000..3e4eaf1 --- /dev/null +++ b/mdstat @@ -0,0 +1,7 @@ +#!/bin/zsh + + +S=$(awk '/^md/ {printf "%s: ", $1}; /blocks/ {print $NF}'