From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Gather statistics from the system

Gather statistics from the system

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Gather statistics from the system

- [Instructor] To gather statistics from the system we're going to use sysstat. With sysstat we can log information about system resources such as processor, memory, disk and network. This sysstat command should be installed already but if it's not, we'll install it now. For this exercise, be sure to be logged into your rh host one VM as user one and have a terminal open. To install sysstat type in sudo space dnf space install space dash Y space sysstat and hit enter. Type in your password if prompted. If it's already installed this won't harm anything. Now let's start the service and make it persistent. Type in clear and then type in sudo space systemctl, space start space sysstat and hit enter. To make it persistent bring your line back and change start to enable. Sysstat writes log files through the slash var, slash log, slash essay directory. By default, data's written every 10…

Contents