mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
ci: Alpine's busybox based free does not understand -h
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
d2ed60b60a
commit
f736b8750e
1 changed files with 6 additions and 1 deletions
|
|
@ -118,7 +118,12 @@ print_env() {
|
|||
print_header "ulimit -a"
|
||||
ulimit -a
|
||||
print_header "Available memory"
|
||||
free -h
|
||||
if [ -e /etc/alpine-release ]; then
|
||||
# Alpine's busybox based free does not understand -h
|
||||
free
|
||||
else
|
||||
free -h
|
||||
fi
|
||||
print_header "Available CPUs"
|
||||
lscpu || :
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue