Knowledge Base

308 copy-ready commands with fill-in variables, plus step-by-step installation guides.

Installation Guides 11

Categories

Installation Guides (11)

Tags

11 results

Monitoring & Logs

Stream Nginx Logs in Real Time

tail -f {{access_log}} {{error_log}}
#nginx #logs
4 views 0 copies
Monitoring & Logs

Watch Laravel Log for Errors Only

tail -f {{log_path}} | grep -i "{{level}}"
#laravel #logs
5 views 0 copies
Monitoring & Logs

Follow a Systemd Service Journal

journalctl -u {{service_name}} -f --since "{{since}}"
#systemd #journalctl
4 views 0 copies
Monitoring & Logs

Watch Disk Usage of a Directory

watch -n {{interval}} "du -sh {{path}}"
#disk #du
4 views 0 copies
Monitoring & Logs

View Service Logs with journalctl

journalctl -u {{service}} -n 100 --no-pager -f
#journalctl #logs
4 views 0 copies
Monitoring & Logs

Tail Application Log File

tail -f {{log_file}}
#tail #logs
3 views 0 copies
Monitoring & Logs

Check Disk Usage

# Filesystem summary:
#disk #df
3 views 0 copies
Monitoring & Logs

Check Memory Usage

free -h
#memory #ram
3 views 0 copies
Monitoring & Logs

Monitor CPU & Memory by Process

# Sort by CPU:
#ps #cpu
3 views 0 copies
Monitoring & Logs

Show All Listening Ports with Process

ss -tlnp
#ports #network
3 views 0 copies
Monitoring & Logs

Search Logs for Errors

grep -i '{{pattern}}' {{log_file}} | tail -50
#grep #logs
3 views 0 copies