While you can learn a lot by emitting metrics from your application, some insights can only be gained by looking at OS metrics. In this hands-on workshop, we will cover the basics in Linux metric collection for monitoring, performance tuning and capacity planning.
- CPU
- CPU Percentage
- CPU Load
- Context Switches
- Memory
- Memory Usage
- IO
- IO Usage
- Network
- Network Utilization
- References
The workshop was designed to run on AWS EC2 t2.small instances with general purpose SSD, Ubuntu 14.04 amd64, and transparent hugh pages disabled. You can build an AMI with all the dependencies installed using the attached packer template.
If you run on your own instance, make sure you have only 1 CPU (easier to read the metrics) and that you disable transparent huge pages (echo never > /sys/kernel/mm/transparent_hugepage/enabled
)