For the last few days my Ubuntu 16.04 suffers random slowdowns that it prevents the apps from loading and doesn't even allow me to connect via SSH.
The only way I can resolve it is by rebooting the server, but once I reboot I don't know what caused the issue.
I tried running htop but it doesn't help because that's realtime stats I want to see which processes were the ones causing the slowdown that left me with reboot as the only option to access the server again