Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu keeps freezing 20.04

#Check the amount of swap you have
grep SwapTotal /proc/meminfo
#Turn off the swap process
sudo swapoff -a
#Resize the swap (in my case I expanded it to 16 GB)
sudo dd if=/dev/zero of=/swapfile bs=1G count=16
#Attach the swap to the partition
sudo mkswap /swapfile
#Activate swap (enable it)
sudo swapon /swapfile
#See the new swap size
grep SwapTotal /proc/meminfo
Comment

PREVIOUS NEXT
Code Example
Shell :: show ip in docker 
Shell :: rancher docker reset password 
Shell :: turn off bluetooth by default ubuntu 20.04 
Shell :: install ext-soap 
Shell :: install jdk linux 
Shell :: download chrome command line kali linux 
Shell :: install vs code in ubuntu 
Shell :: git bash new repository 
Shell :: github remove env file from history 
Shell :: list directories recursively powershell 
Shell :: get public ssh key 
Shell :: conda create env from yml 
Shell :: force to kill any process port ubuntu 
Shell :: install polybar ubuntu 20.04 
Shell :: install drush 
Shell :: rerun supervisor 
Shell :: install lamp on ubuntu 22.04 
Shell :: transfer files to cluster 
Shell :: what process consuming RAM 
Shell :: conda install pyserial 
Shell :: install ffmpeg ubuntu 
Shell :: set selinux centos 
Shell :: install sequelize cli 
Shell :: angular cli generate new module 
Shell :: update repository ubuntu 
Shell :: docker go inside a container 
Shell :: how to install openssl on windows 10 
Shell :: "enter passphrase for key" 
Shell :: cmd delete recursive 
Shell :: compress video ffmpeg 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =