Linux for Beginners: Process Management and System Monitoring | Lesson 6

Опубликовано: 14 Май 2026
на канале: DevLog
25
1

▶ Linux for Beginners Playlist:
   • Linux. Begginer course.  

In this lesson, we learned how processes work in Linux and how to monitor the system in real time. We covered PID, parent and child processes, the difference between a process and a service, and commands like ps, top, htop, kill, nice, renice, bg, and fg. We also checked memory, system load, and logs with free -h, vmstat, uptime, dmesg, systemctl status, and journalctl. This lesson gives you a practical foundation for understanding what is happening in Linux right now.

Commands used in this lesson:

ps aux — shows the list of running processes
ps aux | grep bash — finds specific processes in the process list
systemctl status service_name — shows the current status of a service
top — shows live system activity and running processes in real time
htop — a more user-friendly interactive process viewer
kill PID — sends the default TERM signal to a process
kill -15 PID — sends the TERM signal for a normal stop
kill -9 PID — forcefully stops a process with the KILL signal
kill -l — shows the list of available signals
nice -n 10 command — starts a command with lower CPU priority
renice 10 -p PID — changes the priority of an already running process
bg — continues a paused process in the background
fg — brings a background process back to the foreground
free -h — shows memory usage in a human-readable format
vmstat — shows a short summary of system state
vmstat 1 — refreshes system statistics every second
df -h — shows disk space usage on file systems
du -sh some_directory — shows the size of a specific directory
uptime — shows system uptime and load average
dmesg — shows kernel messages
dmesg | tail — shows the latest kernel messages
journalctl -xe — shows the system journal with useful troubleshooting details
journalctl -u service_name — shows logs for a specific service

#Linux #Ubuntu #DevOps