From e42e0f52e876c71b497d7d2dc2ad2168e92e3b64 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Tue, 19 Dec 2017 07:58:33 +1000 Subject: [PATCH] Print CPU, Memory, Disk and Network stats Print sar CPU, Memory, Disk, Network statistics at end of console log JIRA: RELENG-672 Change-Id: I42aae6a07a91e7a666b28fcd027a5c0a91a8e64c Signed-off-by: Anil Belur --- shell/deploy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/deploy b/shell/deploy index 5bd8b1ae..c20893bd 100755 --- a/shell/deploy +++ b/shell/deploy @@ -226,7 +226,8 @@ deploy_logs() { "df -h" "free -m" "ip addr" - "sar -r" + "sar -b -r -n DEV" + "sar -P ALL" ) for cmd in "${sys_cmds[@]}"; do # If command exists then print output. -- 2.16.6