How to Check Linux for Errors: Logs, Disk, Memory, and Network
Checking Linux for errors — dmesg and journalctl for system logs, smartctl and fsck for disk health, stress-ng for memory, mtr and ip -s link for network issues.
Industry news, reviews and helpful articles about hosting
Checking Linux for errors — dmesg and journalctl for system logs, smartctl and fsck for disk health, stress-ng for memory, mtr and ip -s link for network issues.
How to fix 504 Gateway Timeout in Nginx — fastcgi_read_timeout for php-fpm, proxy_read_timeout for Apache, slow-log for finding slow scripts, and checking php-fpm worker count.
How to change file permissions in Linux with chmod — beginner examples, numeric masks 755 and 644, recursive directory changes, and special SUID and SGID permissions.
All ways to check the Nginx version — nginx -v and -V for build modules, curl via HTTP header, apt and dpkg for package version, and hiding the version with server_tokens off.
Complete guide to tmux sessions — create with name, list sessions, attach and detach, rename, kill session, split panes, and sharing a session between two users.
Extracting 7z archives in Linux with p7zip and 7z — to a specific folder, with password, selective files, creating archives with filename encryption and volume splitting.
Finding file creation date in Linux via stat -c '%w' and debugfs — why the field is empty on Ubuntu 20.04, how to get inode and filesystem device, and a one-liner for quick crtime lookup.
All ways to restart the network in Ubuntu — systemctl, netplan apply, nmcli, ip link for a specific interface, and ifup/ifdown, with tips for working over SSH.
How to use less in Linux — navigation, bidirectional search, real-time follow mode with +F, multiple files, and piping command output. Comparison with more and cat.