#!/bin/sh if test -f /proc/mdstat then cat /proc/mdstat echo fi