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[...]


What uses your resources?

By using top or htop you can find out what processes are using your resources and in what ammount. Another way to do this is by launching the following command: ps -eo pcpu,pid,user,args | sort -r -k1 | more This will ou[...]


Clear the memory cache in Linux

In Linux, you can clear the cache of the memory by using sync; echo 3 > /proc/sys/vm/drop_caches [...]


Display Linux memory usage in real-time

If you want to display your memory usage in real-time, do a watch -d “free -mt” It will display used and free memory every two seconds. [...]