Monitor and Manage Processes - RHCSA (RH124).pdf

support8872 739 views 13 slides Sep 19, 2024
Slide 1
Slide 1 of 13
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13

About This Presentation

Slides on how to monitor and manage processes - Part of RHCSA (RH124) syllabus


Slide Content

Monitor and Manage Processes

Application or service
A software program designed to perform specific tasks or functions to
fulfill user needs or provide system functionality

●Examples include:
○Apache HTTP Server
○Nginx
○MySQL/MariaDB
○OpenSSH
○Docker
○systemd
○NFS

Script
Series of commands or instructions written in a scripting language that
automates tasks or performs specific actions on a computer system

●Example :

Process
A process is an instance of a program that is being executed by a
computer's CPU

Process life cycle

Daemon & Job
Daemon : A background process that runs continuously, often performing
system tasks or responding to requests without direct user interaction

Example:
●sshd , dbus-daemon ,etc


Job: Unit of work that the system executes, either as a response to user
instructions or as part of its routine operations

Threads
Lightweight processes within a
program that execute independently,
allowing for concurrent execution of
tasks

Why Monitor and Manage Processes
●During system startup, numerous programs or processes are loaded
into memory, which require management and supervision


● They consumes resources :
■CPU
■Memory
■Disk Space

Basic Commands
Displays disk space usage
●Command: df




Shows directory space usage
●Command: du

Displays system uptime
●Command: uptime




Displays real-time system processes
●Command: top

Shows system memory usage
●Command: free




Lists open files
●Command: lsof

Captures network packets
●Command: tcpdump





Displays network connections
●Command: netstat

List running processes
●Command: ps




Reports virtual memory statistics
●Command: vmstat