# df -h# disk free, human-readable# du -sh /var/log # size of a specific directory# du -sh /* # size of every root-level dir
// Processes and System
What's running / eating resources
# top # live process view (q to quit)# htop # better top (may need: dnf install htop)# ps aux # all running processes# ps aux | grep nginx # filter for a specific process
Memory usage
# free -h# RAM and swap usage
Kill a process
# kill PID# graceful stop# kill -9PID# force kill# pkill processname# kill by name