RHEL7: Produce and deliver reports on system utilization (processor, memory, disk, and network).

Share this link

Note: This is an RHCE 7 exam objective.

Producing Report

Install the sysstat package if it’s not already the case:

# yum install -y sysstat

Activate the sysstat service at boot (if it’s not already the case):

# systemctl enable sysstat

Produce a report for a given day (here the 11th) (-u for CPU usage, -r for memory usage, -dp for disk activity, -n DEV for network activity):

# sadf -d /var/log/sa/sa11 -- -u -r -dp -n DEV

Additional Resources

Performance analysis starts with the top command that displays the current activity (CPU, memory) on a server.
glances, available through the EPEL repository, is a less known command that displays even more information than top (network usage, disk I/O, filesystem usage).

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Leave a Reply

1 Comment on "RHEL7: Produce and deliver reports on system utilization (processor, memory, disk, and network)."

Notify of
Sort by:   newest | oldest
Peatross
Member
Peatross

This spits out a very large wall of text, that’s all that’s required?

A question like, “Identify at what times CPU utilization peaks” or similar, I wouldn’t be able to answer.

wpDiscuz

RHCSA7: Task of the day

Allowed time: 10 minutes.
Boot and change the root password before the end of the boot process.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a httpd server with a password protected directory under the /var/www/html/private directory.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...