projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ab9477
)
show type and description to get switch model number
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 29 Jun 2018 08:20:39 +0000
(10:20 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 29 Jun 2018 08:20:39 +0000
(10:20 +0200)
fans
patch
|
blob
|
history
diff --git
a/fans
b/fans
index
d25d557
..
9125c73
100755
(executable)
--- a/
fans
+++ b/
fans
@@
-2,5
+2,5
@@
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)'
+grep -B
15 'NOT' log/*system* | egrep '(NOT|Description
|Type)'