#Diagnostics
116 solutions
Check whether your Mac can reach a website and how fast, with a five-packet ping instead of an endless stream.
Send a quick HTTP request from the terminal to check whether a site responds and what status it returns.
pmset -g batt shows charge state; system_profiler SPPowerDataType adds condition and cycle count.
Use the System File Checker to verify every protected Windows system file against known-good copies and automatically replace the damaged ones.
Run scanimage -L to list scanners detected by SANE; the output shows the device name if your scanner is recognized and plugged in.
Show every adapter's IP, subnet, gateway, DHCP and DNS servers in one command.
system_profiler SPDisplaysDataType prints every connected display's resolution, scaled modes, and graphics chip.
Print just the HTTP status code and response time of any URL with curl, ideal for health checks and quick monitoring from the terminal.
Use ping -t to watch for dropped packets and latency spikes while you reproduce a Wi-Fi or internet problem.
See exactly which interface, source address and gateway the kernel picks for a given destination — no guessing from routing tables.
See the time since your Mac's last restart plus system load in one short terminal command.
Launch an interactive process viewer with color meters for CPU cores, memory, and swap, plus search, sort, and kill controls.