Disk usage per directory
Top 15 largest directories at root level
du -sh /* 2>/dev/null | sort -rh | head -15
More linux commands
-
ss -tlnpTCP listening ports with PID and process name (modern netstat)
-
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