【sdx12】sdx12开启和关闭ZRAM swap方法

指令介绍

swapon

/ # swapon
BusyBox v1.31.1 (2023-03-08 08:04:27 UTC) multi-call binary.

Usage: swapon [-a] [-e] [-d[POL]] [-p PRI] [DEVICE]

Start swapping on DEVICE

        -a      Start swapping on all swap devices
        -d[POL] Discard blocks at swapon (POL=once),
                as freed (POL=pages), or both (POL omitted)
        -e      Silently skip devices that do not exist
        -p PRI  Set swap device priority

swapoff

/ # swapoff
BusyBox v1.31.1 (2023-03-08 08:04:27 UTC) multi-call binary.

Usage: swapoff [-a] [DEVICE]

Stop swapping on DEVICE

        -a      Stop swapping on all swap devices

free

/ # free --help
BusyBox v1.31.1 (2023-03-08 08:04:27 U

你可能感兴趣的:(qsdk遇到问题及解决方案,sdx12)