summaryrefslogtreecommitdiff
path: root/zram-swap
AgeCommit message (Collapse)Author
2021-05-21Move zram modprobe to top of mainAaron Ball
Both the status and start commands require the zram module to be loaded, so this should resolve any module loading issues.
2021-05-19Load kernel module on startAaron Ball
2021-05-19Improve status commandAaron Ball
Rather than only listing what device is in use, it now lists all of the details of the device, including usage, using the zramctl command.
2021-05-19Initial commitAaron Ball
The script currently creates a zram swap device that uses half of the system memory (calculated MemTotal from /proc/meminfo) and half of the system cpus for compression. Note that this must be run as root.

Generated by cgit