I already set the swappiness
by 10 (even reboot). But I always feel it's using swap space instead of ram space (I heard the sound of HDD), and the system sometime freeze. The question is how to check what and why it's using swap space and how to stop it?
Asked
Active
Viewed 989 times
1

Jared Chu
- 323
- 4
- 14
smartctl
installed, you can run the following to get all the SMART information for your drives:ls /dev/sd? | while read drv; do echo -n "$drv "; sudo smartctl --all $drv | awk '/SMART overall/ {print $NF}'; done
– Terrance Aug 12 '17 at 17:22sysctl vm.swappiness
. – heynnema Aug 12 '17 at 23:40Disks
app, select the proper hard disk in the left pane, click on the "hamburger" icon and selectSMART Data & Tests
. Review the data. Run the tests. If that comes out good, then interminal
dogrep -i sda /var/log/syslog*
and look for error messages. – heynnema Aug 13 '17 at 00:05