docs(zram): 为 show_status.sh 添加远程执行使用说明

This commit is contained in:
严浩
2026-03-23 22:29:43 +08:00
parent 2978818923
commit 81b8b6e3bd
+6
View File
@@ -1,4 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#
# ...
#
# 使用方法:
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/zram/show_status.sh"; curl -fsSL "$URL" | bash
# URL="https://git.1-h.cc/Scripts/Linux/raw/branch/2026/zram/show_status.sh"; wget -q -O - "$URL" | bash
format_zram_bytes() { format_zram_bytes() {
awk -v bytes="$1" 'BEGIN { awk -v bytes="$1" 'BEGIN {