Find process by port linux
Which process is listening on a specific port
ss -tlnp | grep :<port>
more linux
all 133 commands →
CPU usage per process
ps aux --sort=-%cpu | head -15
Memory usage per process
ps aux --sort=-%mem | head -15
Follow systemd service logs
journalctl -u <service> -f --since '10 minutes ago'
Check systemd service status
systemctl status <service> --no-pager -l
Capture traffic on interface
tcpdump -i eth0 -nn host <ip> and port 80 -w /tmp/capture.pcap