Web Design

Find out what RAM type you have in Linux

To check what RAM memory type yo have installed (and also see other useful information about your system), do a sudo dmidecode Depending on the version of dmidecode you have installed and the hardware configuration you h[...]


List Linux processes by CPU or Memory usage

You can use a one-string command in Linux to nicely display in CLI the processes that consume your CPU. Use ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed ‘/^ 0.0 /d’ and you will get something l[...]


Get rid of SWAP in Linux

If for whatever reason you wish not to use your Linux SWAP anymore, you can use the swapoff command. Do a swapon -s to see to which partition SWAP belongs to then a free -mt to check available memory. If you still want t[...]