How do you use tcpdump effectively?
Capture a narrow interface, host, port, and time window. Protect capture files because traffic may contain sensitive information.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 2341–2352 of 3610 questions
Capture a narrow interface, host, port, and time window. Protect capture files because traffic may contain sensitive information.
They reveal responding hops along a path, but routers may filter or rate-limit probes. Missing hops are not conclusive evidence of failure.
Measure repeated latency, inspect interface counters, and correlate network measurements with application metrics.
A network namespace isolates interfaces, routes, firewall rules, and sockets for a group of processes; containers commonly use them.
A bridge connects layer-2 interfaces. A veth pair behaves like a virtual Ethernet cable, often connecting a container namespace to a host bridge.
List active rules and review input, output, and forwarding chains, policies, and counters before changing anything.
Use verbose client output, verify host keys, inspect server configuration, and retain least-privilege access.
Quote variables, validate inputs, make failure behavior explicit, and consider strict-mode options and ShellCheck.
Load average estimates tasks running or waiting for CPU or uninterruptible I/O. It is not a direct CPU percentage.
Inspect device latency and utilization, blocked tasks, application I/O patterns, and storage-provider metrics.
Systemd constructs a service environment from unit settings and configured files, not necessarily the interactive shell's exports.
Compare A/AAAA records, addresses, routes, firewall rules, listener bindings, and family-specific requests.