projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jjb: fix memory printing on FreeBSD
[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.022635 seconds
and
4
git commands to generate.