↑ ↓ select, Enter open, Esc close

Logs

Read, filter and analyze log files: search access logs by IP, status code and bot, use journalctl precisely and find errors fast.

21 one-liners: 20 harmless, 1 caution, 0 destructive

All Logs one-liners

Analyze Googlebot requests in the access log

#grep -i "googlebot" /var/www/vhosts/system/example.com/logs/access_ssl_log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
harmless

Analyze server errors (5xx) in the access log

#awk '$9 ~ /^5[0-9][0-9]$/ {print $9, $7}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20
harmless

Count HTTP status codes in the access log

#awk '{print $9}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn
harmless

Count requests per minute in the access log

#awk '{print substr($4, 2, 17)}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20
harmless

Filter the access log by time range

#awk -v von="09/Oct/2026:14:00" -v bis="09/Oct/2026:15:00" 'substr($4, 2) >= von && substr($4, 2) < bis' /var/www/vhosts/system/example.com/logs/access_ssl_log
harmless

Find the domains with the most requests on Plesk

#wc -l /var/www/vhosts/system/*/logs/access_ssl_log 2>/dev/null | sort -rn | head -20
harmless

Server is clean. Is the site?

How fast does the website really load?

GENLOC.SEO measures PageSpeed and Core Web Vitals on mobile and desktop and tells you clearly what to fix first. Free, no time limit.

by GENLOC.NETWORK, the team behind myline.de

Find the largest log files on the server

#du -ah /var/log 2>/dev/null | sort -rh | head -20
harmless

Find the most common user agents and bots in the access log

#awk -F'"' '{print $6}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20
harmless

Find the most frequent 404 errors in the access log

#awk '$9 == 404 {print $7}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20
harmless

Find the most requested URLs in the access log

#awk '{print $7}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20
harmless

Find the top IP addresses in the access log

#awk '{print $1}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20
harmless

Follow a log file live and filter by keywords

#tail -f /var/log/syslog | grep --line-buffered -iE "error|warn|fail"
harmless

Follow the error log of a Plesk domain live

#tail -f /var/www/vhosts/system/example.com/logs/error_log
harmless

Force log rotation immediately

#logrotate -vf /etc/logrotate.d/nginx
caution

Search rotated and compressed logs too

#zgrep -h "Out of memory" /var/log/syslog*
harmless

Show all requests from one IP address in the access log

#awk -v ip="203.0.113.10" '$1 == ip' /var/www/vhosts/system/example.com/logs/access_ssl_log | tail -50
harmless

Show journal logs for a single service

#journalctl -u nginx -n 200 --no-pager
harmless

Show logs from the previous boot

#journalctl -b -1 -n 200 --no-pager
harmless

Show only error messages in the system journal

#journalctl -p err -b --no-pager
harmless

Show system logs since a specific time

#journalctl --since "1 hour ago" --no-pager
harmless

Test a logrotate configuration without rotating

#logrotate -d /etc/logrotate.d/nginx
harmless

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.