Tag Archives: RAM

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 have, each hardware device will have a certain type number assigned t it. On my machine, the RAM has… Read More »

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 like this: %CPU CPU  NI S     TIME COMMAND 0.1   –   0 S 00:00:13 metacity 0.1   –   0 S 00:00:18 /usr/lib/thunderbird/thunderbird-bin 0.2   –  … Read More »

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 to give up your SWAP, try a swapoff /dev/hdxx where /dev/hdxx is… Read More »