Summary
In this chapter, we learned how to monitor our server's resource usage. We began with a look at the commands we can use to investigate disk usage, and we also learned how to monitor memory usage as well. We also discussed swap, including what it is, why you'd want to have it, as well as how to create a swap file manually should the need to do so come up. We then took a look at load average and closed out the chapter by checking out htop
, which is my favorite utility for getting an overall look at resource usage on servers.
In Chapter 9, Managing Storage Volumes, we'll take a closer look at storage. In this chapter, we learned how to see how much is being used, but in the next we'll look at more advanced concepts surrounding storage, such as formatting volumes, adding additional volumes, and even LVM. See you there!