Check open ports
TCP listening ports with PID and process name (modern netstat)
ss -tlnp
- tool
- linux133 commands
More linux commands
-
ss -tlnp | grep :<port>Which process is listening on a specific port
-
ps aux --sort=-%cpu | head -15Top 15 processes by CPU consumption
-
ps aux --sort=-%mem | head -15Top 15 processes by memory consumption
-
journalctl -u <service> -f --since '10 minutes ago'Stream logs for a systemd unit from the last 10 minutes
-
systemctl status <service> --no-pager -lService status, recent log lines, and active timers