show type and description to get switch model number
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 29 Jun 2018 08:20:39 +0000 (10:20 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 29 Jun 2018 08:20:39 +0000 (10:20 +0200)
fans

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)'