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: 5 minutes.
Create a new user account called "bob" with password "redhat" and set expiration in one week.

RHCE7: Task of the day

Allowed time: 10 minutes.
Configure a system to forward all email to a central mail server at 192.168.1.1 (change the IP address accordingly).

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 ...