projects
/
dell-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grep through dumps in /dev/shm/sw.mac.port
[dell-switch]
/
fans
diff --git
a/fans
b/fans
index
a67a6ac
..
d25d557
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
+echo
+echo "Failing fans:"
grep -B 5 'NOT' log/*system* | egrep '(NOT|Type)'