Skip to content

Arch Linux System Monitoring

Mattscreative edited this page Dec 5, 2025 · 2 revisions

Arch Linux System Monitoring Guide

Complete beginner-friendly guide to system monitoring on Arch Linux, including resource monitoring, system health checks, and monitoring tools.


Table of Contents

  1. Resource Monitoring
  2. System Health
  3. Monitoring Tools
  4. Performance Monitoring
  5. Troubleshooting

Resource Monitoring

CPU Monitoring

Monitor CPU:

# top
top

# htop
htop

# CPU usage
mpstat 1

Memory Monitoring

Monitor memory:

# free
free -h

# Memory usage
vmstat 1

# Detailed
cat /proc/meminfo

Disk Monitoring

Monitor disk:

# iostat
sudo pacman -S sysstat
iostat -x 1

# Disk usage
df -h
du -sh /path

System Health

System Information

Check system:

# System info
uname -a
hostnamectl
uptime

# Hardware info
lscpu
free -h
lsblk

Service Status

Check services:

# List services
systemctl list-units --type=service

# Failed services
systemctl --failed

# Service status
systemctl status service-name

Monitoring Tools

htop

Install htop:

# Install htop
sudo pacman -S htop

# Launch
htop

btop

Install btop:

# Install btop
sudo pacman -S btop

# Launch
btop

Glances

Install Glances:

# Install Glances
sudo pacman -S glances

# Launch
glances

netdata

Install netdata:

# Install netdata
yay -S netdata

# Enable service
sudo systemctl enable netdata
sudo systemctl start netdata

# Access: http://localhost:19999

Performance Monitoring

Monitor Performance

Performance tools:

# Install tools
sudo pacman -S sysstat

# CPU stats
sar -u 1

# Memory stats
sar -r 1

# I/O stats
sar -b 1

Log Analysis

Analyze logs:

# Boot time
systemd-analyze

# Service times
systemd-analyze blame

Troubleshooting

High Resource Usage

Find processes:

# High CPU
ps aux --sort=-%cpu | head

# High memory
ps aux --sort=-%mem | head

System Slowdown

Check resources:

# Check load
uptime

# Check processes
top

# Check disk I/O
iostat -x 1

Summary

This guide covered resource monitoring, system health, monitoring tools, performance monitoring, and troubleshooting.


Next Steps


This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.

Clone this wiki locally