From: Anil Belur Date: Mon, 18 Dec 2017 21:58:33 +0000 (+1000) Subject: Print CPU, Memory, Disk and Network stats X-Git-Tag: v0.11.1~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F8046%2F1;p=releng%2Flftools.git 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 --- 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.