Forrest logo
back to context overview

zramctl

List of commands for zramctl:

  • zramctl:tldr:1b378 zramctl: Enable zram with exactly 2 devices.
    $ sudo modprobe zram num_devices=${2}
    try on your machine
    explain this command
  • zramctl:tldr:521da zramctl: Check if zram is enabled.
    $ lsmod | grep -i zram
    try on your machine
    explain this command
  • zramctl:tldr:7f995 zramctl: List currently initialized devices.
    $ zramctl
    try on your machine
    explain this command
  • zramctl:tldr:9ab27 zramctl: Enable zram with a dynamic number of devices (use `zramctl` to configure devices further).
    $ sudo modprobe zram
    try on your machine
    explain this command
  • zramctl:tldr:a9d81 zramctl: Find and initialize the next free zram device to a 2 GB virtual drive using LZ4 compression.
    $ sudo zramctl --find --size ${2GB} --algorithm ${lz4}
    try on your machine
    explain this command
back to context overview