From 2b1200d3b60423539d8c928881d99b93847a57c7 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 29 Jun 2018 10:20:39 +0200 Subject: [PATCH] show type and description to get switch model number --- fans | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fans b/fans index d25d557..9125c73 100755 --- 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)' -- 2.20.1