From 81b8b6e3bd66b7913a80b071e67c349291c6219a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 23 Mar 2026 22:29:43 +0800 Subject: [PATCH] =?UTF-8?q?docs(zram):=20=E4=B8=BA=20show=5Fstatus.sh=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BF=9C=E7=A8=8B=E6=89=A7=E8=A1=8C=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zram/show_status.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zram/show_status.sh b/zram/show_status.sh index bd1c29d..6a0d477 100644 --- a/zram/show_status.sh +++ b/zram/show_status.sh @@ -1,4 +1,10 @@ #!/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() { awk -v bytes="$1" 'BEGIN {