filter log/ filenames into sw.command
[dell-switch] / fans
1 echo "All fans breakdown by status:"
2 grep Fan log/*system* | cut -d: -f3 | sort | uniq -c
3 echo
4 echo "Failing fans:"
5 grep -B 5 'NOT' log/*system* | egrep '(NOT|Type)'
6