mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
zramctl: add Spanish translation (#13207)
Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com>
This commit is contained in:
parent
cd27fd77c7
commit
247d636e0f
1 changed files with 25 additions and 0 deletions
25
pages.es/linux/zramctl.md
Normal file
25
pages.es/linux/zramctl.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# zramctl
|
||||||
|
|
||||||
|
> Configura y controla dispositivos zram.
|
||||||
|
> Usa `mkfs` o `mkswap` para formatear dispositivos zram a particiones.
|
||||||
|
> Más información: <https://manned.org/zramctl>.
|
||||||
|
|
||||||
|
- Comprueba si zram está habilitado:
|
||||||
|
|
||||||
|
`lsmod | grep -i zram`
|
||||||
|
|
||||||
|
- Habilita zram con un número dinámico de dispositivos (usa `zramctl` para configurar más dispositivos):
|
||||||
|
|
||||||
|
`sudo modprobe zram`
|
||||||
|
|
||||||
|
- Habilita zram con exactamente 2 dispositivos:
|
||||||
|
|
||||||
|
`sudo modprobe zram num_devices={{2}}`
|
||||||
|
|
||||||
|
- Encuentra e inicializa el siguiente dispositivo zram libre a una unidad virtual de 2 GB usando compresión LZ4:
|
||||||
|
|
||||||
|
`sudo zramctl --find --size {{2GB}} --algorithm {{lz4}}`
|
||||||
|
|
||||||
|
- Lista los dispositivos actualmente inicializados:
|
||||||
|
|
||||||
|
`sudo zramctl`
|
Loading…
Add table
Reference in a new issue