Skip to content

Instantly share code, notes, and snippets.

@jaderabbit
Created June 14, 2017 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaderabbit/6313757518b26c7149fcaff55c3d6129 to your computer and use it in GitHub Desktop.
Save jaderabbit/6313757518b26c7149fcaff55c3d6129 to your computer and use it in GitHub Desktop.
Hein & Derik Server wisdom
sudo netstat -lpn
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
Something like
swapoff -a
fallocate 4G /swapfile
mkswap /swapfile
swapon /swapfile
Run `iostat`
It shows you the io it is using. If the source is swap then we have a problem, else it is fine
Look at load averages in top to see how processors are being used and how many are waiting for processing
Look at CPU processing and CPU credits, make sure it's max usage, not average.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment