zramctl: improve module loading examples (#3870)
* zramctl: improve module loading examples * zramctl: update see also equivalent * zranctl: fix syntax error
This commit is contained in:

committed by
GitHub

parent
c8f0263169
commit
cd357a2b03
@@ -1,13 +1,17 @@
|
||||
# zramctl
|
||||
|
||||
> Setup and control zram devices.
|
||||
> Use `mke2fs` or `mkswap` to format zram devices to partitions.
|
||||
> Use `mkfs` or `mkswap` to format zram devices to partitions.
|
||||
|
||||
- Check if zram is enabled:
|
||||
|
||||
`lsmod | grep -i zram`
|
||||
|
||||
- Enable zram with 2 devices (use `zramctl` to configure the devices further):
|
||||
- Enable zram with a dynamic number of devices (use `zramctl` to configure devices further):
|
||||
|
||||
`sudo modprobe zram`
|
||||
|
||||
- Enable zram with exactly 2 devices:
|
||||
|
||||
`sudo modprobe zram num_devices={{2}}`
|
||||
|
||||
|
Reference in New Issue
Block a user