Code Review
/
releng
/
lftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
61e0c1c
)
Print CPU, Memory, Disk and Network stats
46/8046/1
author
Anil Belur
<abelur@linuxfoundation.org>
Mon, 18 Dec 2017 21:58:33 +0000
(07:58 +1000)
committer
Anil Belur
<abelur@linuxfoundation.org>
Mon, 18 Dec 2017 22:08:30 +0000
(08:08 +1000)
Print sar CPU, Memory, Disk, Network statistics at end of console log
JIRA: RELENG-672
Change-Id: I42aae6a07a91e7a666b28fcd027a5c0a91a8e64c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
shell/deploy
patch
|
blob
|
history
diff --git
a/shell/deploy
b/shell/deploy
index
5bd8b1a
..
c20893b
100755
(executable)
--- 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.