]> Sergey Matveev's repositories - sgmon.git/blob - probelist.sh
Move failed probes to the beginning
[sgmon.git] / probelist.sh
1 #!/bin/sh -e
2
3 nondot() {
4     find $1 -mindepth 1 -maxdepth 1 -type d -not -name ".*" | while read d ; do
5         [ -e $d/run ] && echo ${d#./} || nondot $d
6     done
7 }
8
9 nondot . | sort