projects
/
dell-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
read commands from STDIN if used as pipe
[dell-switch]
/
fans
diff --git
a/fans
b/fans
index
a67a6ac
..
9125c73
100755
(executable)
--- a/
fans
+++ b/
fans
@@
-1,3
+1,6
@@
+echo "All fans breakdown by status:"
grep Fan log/*system* | cut -d: -f3 | sort | uniq -c
-grep -B 5 'NOT' log/*system* | egrep '(NOT|Type)'
+echo
+echo "Failing fans:"
+grep -B 15 'NOT' log/*system* | egrep '(NOT|Description|Type)'