projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ansible: Add sles15sp4 rootnode
[lttng-ci.git]
/
scripts
/
common
/
print.sh
diff --git
a/scripts/common/print.sh
b/scripts/common/print.sh
index e101a9c24df3c088cd4fa3a3d817a319a08fd4ae..89c904335b6221dc821f782809a07677d52382dd 100755
(executable)
--- a/
scripts/common/print.sh
+++ b/
scripts/common/print.sh
@@
-18,8
+18,13
@@
print_hardware() {
lscpu
fi
- print_blue "Memory Details"
- free
+ if command -v free >/dev/null 2>&1; then
+ print_blue "Memory Details"
+ free -m
+ else
+ print_blue "Memory Details"
+ vmstat free
+ fi
print_blue "Storage Details"
df -H -T
This page took
0.022109 seconds
and
4
git commands to generate.