mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
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:
parent
c8f0263169
commit
cd357a2b03
1 changed files with 6 additions and 2 deletions
|
@ -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}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue