Comandos útiles para liberar memoria y crear swap temporal en Ubuntu.
Liberar Memoria Caché
Libera la memoria caché del sistema.
sudo sync; echo 3 | sudo tee /proc/sys/vm/drop_caches
Verificar el Estado de Swap
Muestra el estado actual del swap.
swapon --show
Crear un Swap Temporal
Crea un swap temporal de 4 GB.
sudo fallocate -l 4G /swaptemp
sudo chmod 600 /swaptemp
sudo mkswap /swaptemp
sudo swapon /swaptemp
Comentarios
Publicar un comentario