more clear

This commit is contained in:
goldsquid
2025-12-19 13:10:27 +07:00
parent 25c2f8c101
commit 4b1de78b84
2 changed files with 5 additions and 7 deletions

View File

@@ -54,6 +54,9 @@ done
total=$(echo "$(( total_size * 1024 ))" | numfmt --to=iec --suffix=B --format="%.2f")
static=$(echo $(echo "$static_size * 1024" | bc) | numfmt --to=iec --suffix=B --format="%.2f")
dynamic_kb=$(echo "$total_size - $static_size" | bc)
dynamic=$(echo $(echo "$dynamic_kb * 1024" | bc) | numfmt --to=iec --suffix=B --format="%.2f")
echo "total: $total"
echo "static: $static"
echo "Total static: $static"
echo "Total: $total"
echo "Dynamic: $dynamic"