Tagged articles
netstat
80 articles · Page 1 of 1
This guide explains how to identify which process is occupying a network port on Linux using netstat, ss, and lsof commands, with detailed flag explanations and real output examples for troubleshooting 'Address already in use' errors.
Linuxlsofnetstat
0 likes · 10 min read


liandkSep 12, 2026 · Operations
This guide details five essential Linux commands—top, free, df, netstat, and tcpdump—for diagnosing server-level CPU, memory, disk, and network bottlenecks that cause Java application failures, providing field interpretations, anomaly thresholds, and a step-by-step troubleshooting workflow.
Java performanceLinuxdf
0 likes · 14 min read

A comprehensive guide to Linux network fault diagnosis using tcpdump, netstat, and ss, covering TCP state analysis, packet capture filters, kernel parameter tuning, and real-world case studies for TIME_WAIT, SYN_RECV, CLOSE_WAIT, and latency issues.
Linux networkingPacket CaptureSYN Flood
0 likes · 59 min read

This article walks system administrators and DevOps engineers through a systematic approach to diagnosing Linux network issues, covering the fundamentals of netstat, ss, and tcpdump, interpreting TCP state tables, analyzing packet captures, and resolving common problems such as TIME_WAIT buildup, SYN floods, and HTTPS handshake failures.
Linuxnetstatnetwork
0 likes · 32 min read

This article surveys a wide range of Linux command‑line utilities for monitoring network traffic—such as nethogs, nload, iftop, collectl, netstat, tcpdump and more—detailing each tool's unique features, installation commands for various distributions, and example usage to help both newcomers and seasoned administrators track bandwidth and connections effectively.
LinuxNagiosNetwork Monitoring
0 likes · 23 min read

This guide walks through a collection of powerful Linux commands—including xargs for batch processing, nohup for background jobs, ps and sort for identifying high‑memory or CPU processes, multitail for simultaneous log viewing, ping logging with awk, netstat for connection stats, and ssh port forwarding—providing concrete examples and command syntax to help programmers streamline system administration tasks.
LinuxSSHmultitail
0 likes · 11 min read

The article walks through a systematic investigation of Linux packet loss using hping3, netstat, ethtool, tc, iptables, and tcpdump, identifies causes at the link, network, transport, and firewall layers, and demonstrates how adjusting netem rules, MTU, and iptables restores reliable connectivity.
Linuxiptablesnetstat
0 likes · 19 min read

This guide walks Linux administrators through nine core networking utilities—ip, netstat, nmap, traceroute, tcpdump, ssh, wget, netplan, and nmtui—explaining their purpose, key options, and example commands to configure interfaces, inspect routes, capture packets, and manage remote connections.
IPLinuxcommands
0 likes · 8 min read

This guide explains what port occupation means on Linux, demonstrates how to use lsof and netstat to pinpoint the process holding a specific port, and shows how to safely terminate that process to free the port for your applications.
Linuxkilllsof
0 likes · 6 min read

This article walks through a systematic Linux network packet‑loss investigation, covering potential loss points across the protocol stack, using ethtool, netstat, iptables, tc netem, and MTU adjustments, and demonstrates how to verify and resolve the issue with hping3 and curl.
MTUethtooliptables
0 likes · 13 min read

This article walks through a systematic investigation of Linux network packet loss, covering potential loss points across the protocol stack, using tools like ethtool, netstat, iptables, tc, hping3, curl, and tcpdump to identify and resolve misconfigurations such as faulty netem rules and an incorrect MTU setting.
iptablesnetstatnetwork
0 likes · 13 min read

This guide explains how to verify physical links, test ping latency, trace routes, check HTTP/HTTPS availability with wget and curl, assess TCP/UDP ports using netcat, telnet, and nmap, inspect local connections via netstat/ss, understand TCP states, and validate DNS resolution, providing practical command examples for each step.
Linuxconnectivity toolsethtool
0 likes · 12 min read

This guide explains how to use common Linux commands such as netstat, ss, lsof, fuser, and nmap to list listening ports, interpret their output fields, and pinpoint which processes are occupying specific ports on a server.
Linuxfuserlsof
0 likes · 5 min read

This guide explains how to use Linux commands such as netstat, ss, lsof, fuser, and nmap to list open ports, interpret their output fields, and pinpoint the processes that are occupying particular ports on a server.
Linuxfuserlsof
0 likes · 5 min read

This guide explains how to use netstat, ss, lsof, fuser, and nmap commands on Linux to list open ports, interpret their status columns, and determine which processes are occupying specific ports, with installation tips and example outputs.
lsofnetstatnmap
0 likes · 5 min read

This guide shows how to use Linux commands such as netstat, ss, lsof, fuser, and nmap to list listening ports, interpret their output fields, and pinpoint the exact process or program occupying any given port.
Linuxlsofnetstat
0 likes · 6 min read

This guide explains how to use Linux commands such as netstat, ss, lsof, fuser, and nmap to inspect port usage, interpret their output fields, and install missing tools, enabling you to pinpoint which processes are occupying specific ports.
Linuxfuserlsof
0 likes · 5 min read

This article demonstrates how to use xargs with find and tar for file handling, ps for identifying high‑memory and high‑CPU processes, and netstat combined with awk and sort to inspect TCP connection states and the top requesting IP addresses, providing essential command‑line techniques for system administrators.
netstatpsshell
0 likes · 4 min read

Learn to quickly diagnose the “Address already in use” error on Linux by listing listening ports with netstat, ss, and lsof, interpreting their output, filtering results, and freeing conflicted ports, with example commands and explanations of each option.
Linuxlsofnetstat
0 likes · 8 min read

Learn how to verify physical link status, test network reachability, trace routes, and diagnose TCP/UDP ports using Linux utilities such as ethtool, ping, tracepath, wget, curl, netcat, telnet, nmap, netstat, and ss, with practical command examples and interpretation tips.
Linux commandsconnectivity testingethtool
0 likes · 15 min read

This guide explains how to configure additional routing rules for a second network interface on Linux by creating a new policy routing table, adding specific routes and rules with iproute2 commands, and verifying that traffic uses the intended NIC.
LinuxPolicy Routingifconfig
0 likes · 7 min read

This guide explains how to configure additional routing tables and policy‑based routes on a Linux server with two network interfaces, covering IP address inspection, routing table edits, ip rule commands, and persistence across reboots.
LinuxPolicy RoutingRouting
0 likes · 9 min read

A practical guide explains how to use top, iostat, netstat, df, du and other common Linux commands to monitor CPU, memory, disk, and network status, interpret their output, and troubleshoot performance problems in production environments.
LinuxSystem Monitoringdisk usage
0 likes · 5 min read

This guide walks you through key Linux commands such as top, free, iostat, netstat, df, and du, explaining each output field, how to interpret system load, memory usage, CPU statistics, network connections, and disk space to quickly diagnose production issues.
LinuxSystem Monitoringdf
0 likes · 6 min read

This guide presents a comprehensive collection of Linux one‑liners—using awk, grep, sort, uniq, netstat, and other tools—to count unique IPs, rank pages, filter bots, measure bandwidth, monitor connection states, and extract time‑based statistics from Apache access logs.
ApacheShell Commandsawk
0 likes · 12 min read

This guide explains how to safely shut down or reboot a Linux server by checking logged‑in users, running processes, and network connections, notifying users, running sync, and using the appropriate shutdown, reboot, halt, or poweroff commands with their key options.
LinuxShutdowncommands
0 likes · 9 min read

This guide provides a comprehensive overview of essential Linux system monitoring commands—including top, free, vmstat, iostat, mpstat, sar, netstat, uptime, ps, watch, strace, and lsof—detailing their syntax, key options, interactive controls, and how to interpret their output for effective performance analysis.
LinuxSystem Monitoringfree
0 likes · 32 min read

This tutorial demonstrates how to leverage the xargs command for batch file processing, employ ps to list high‑memory and high‑CPU processes, and use netstat combined with awk to examine TCP connection states and identify the most active IP addresses, all illustrated with concrete command examples.
LinuxSystem Monitoringcommand-line
0 likes · 4 min read

The article explains how the Linux ss command provides comprehensive socket statistics, lists its most useful options, demonstrates performance advantages over netstat with timing examples, and shows how to filter by state, address, or port for efficient system monitoring.
Linux networkingSystem Performancecommand-line-tools
0 likes · 8 min read

This guide presents a comprehensive collection of Bash one‑liners—using awk, grep, sort, uniq, netstat, and other utilities—to count unique IPs, rank page visits, filter bots, analyze traffic by time windows, compute bandwidth, and monitor connection states from Apache or Nginx access logs.
awkbashgrep
0 likes · 12 min read

This guide explains how to test and debug Linux network ports using telnet, netcat (nc), and netstat, covering command syntax, interpreting connection results, sending and receiving data, exiting the tools, and handling environment limitations on embedded systems.
Telnetnetcatnetstat
0 likes · 7 min read

This guide explains how to verify TCP port connectivity on Linux using telnet and nc, shows how to interpret their output for open or closed ports, describes ways to exit these tools, and demonstrates how netstat can confirm the connection state and identify the owning process.
LinuxTelnetcommand-line
0 likes · 8 min read

This guide presents a concise reference of common Windows command‑line networking tools—including arp, getmac, hostname, ipconfig, netstat, ping, route, telnet and tracert—explaining their purpose, key options, typical usage syntax and practical examples to help administrators troubleshoot and manage network connectivity.
ARPTelnetcmd
0 likes · 16 min read

This guide presents a comprehensive collection of AWK, grep, sed, and netstat one‑liners that let you count unique IPs, rank page visits, measure bandwidth, monitor TCP states, and extract detailed traffic patterns from Apache access logs on Linux systems.
ApacheLinuxNetwork Monitoring
0 likes · 11 min read

This guide explains the netstat command’s purpose, interprets its output sections for active Internet connections and UNIX domain sockets, details common options such as -a, -t, -u, -l, -p, and provides numerous practical examples for listing ports, monitoring traffic, displaying routing tables, and identifying processes.
LinuxNetwork MonitoringSocket
0 likes · 12 min read

This guide compiles a comprehensive set of Linux command‑line techniques—using awk, grep, netstat, and other tools—to help you count unique IPs, track page visits, identify heavy‑traffic files, monitor connection states, and extract performance metrics from Apache and other web server logs.
awklog analysisnetstat
0 likes · 14 min read

In high‑concurrency scenarios, massive TIME_WAIT TCP connections can exhaust local ports, causing new connections to fail, but by understanding the TCP four‑handshake, adjusting socket reuse settings, and using keep‑alive, you can mitigate the issue.
LinuxNetworkingOperations
0 likes · 8 min read

After a birthday outing, a payment failure revealed a Windows server’s inability to connect to a bank, leading the author through CPU/memory checks, network diagnostics, port exhaustion discovery, registry tweaks, malicious process removal, and final remediation, highlighting essential operations lessons.
OperationsTCP portsWindows Server
0 likes · 6 min read

This guide explains why the “Address already in use” message appears, defines listening ports, and shows step‑by‑step how to use netstat, ss, and lsof commands to list, filter, and pinpoint the processes occupying specific ports on Linux and macOS systems.
Linuxlsofnetstat
0 likes · 8 min read


Code DAOMay 11, 2022 · Backend Development
This article walks through the HTTP/1.1 keep‑alive model, shows how a simple Go program creates separate TCP connections for sequential requests, uses netstat and tcpdump to observe the behavior, and demonstrates how adjusting http.Client's transport settings enables true persistent connections even under concurrency.
GoHTTPHTTP Client
0 likes · 11 min read

This guide compiles a comprehensive set of Linux commands—using awk, grep, netstat, and other tools—to help you count unique IPs, rank page visits, filter bots, monitor connection states, calculate bandwidth, and identify high‑traffic or error‑prone resources from Apache or Nginx logs.
LinuxOperationsawk
0 likes · 12 min read


ITPUBApr 2, 2022 · Operations
Learn how to diagnose the “Address already in use” error by listing listening ports on Linux and macOS using netstat, ss, and lsof, understand port concepts, interpret command output, filter results, and find which processes occupy specific ports.
Linuxlsofnetstat
0 likes · 8 min read

This guide presents a comprehensive collection of Linux command‑line techniques—including awk, grep, and netstat—to help you analyze web server logs, identify unique visitors, track page popularity, monitor connection states, and detect performance bottlenecks in a systematic way.
awklog analysisnetstat
0 likes · 15 min read

This guide shows how to quickly locate and resolve the “Address already in use” error on Linux and macOS by using netstat, ss, and lsof to list listening ports, interpret their output, and filter results for specific services or ports.
Linuxlsofnetstat
0 likes · 8 min read

This article explains the purpose, output format, and frequently used options of the cross‑platform netstat command, illustrating how to list active TCP/UDP connections, UNIX domain sockets, and various statistics, and notes modern replacements such as ss and ip.
LinuxNetwork MonitoringTCP
0 likes · 7 min read

Learn step‑by‑step how to use netstat, ss, and lsof commands to list listening ports, filter results, and pinpoint the exact process occupying a specific port on Linux and macOS systems.
lsofnetstatnetwork troubleshooting
0 likes · 8 min read


21CTOJan 24, 2022 · Operations
This guide explains how to monitor Linux server performance using built‑in tools such as top, vmstat, pidstat, iostat, netstat, sar and tcpdump, detailing the metrics each provides and how to interpret them for CPU, memory, disk I/O and network troubleshooting.
LinuxPerformance Monitoringiostat
0 likes · 15 min read


ITPUBJan 21, 2022 · Operations
This guide explains how to use core Linux tools such as top, vmstat, pidstat, iostat, sar, netstat, and tcpdump to monitor CPU, memory, disk I/O, and network performance, interpret their metrics, and troubleshoot common bottlenecks on servers.
LinuxPerformance Monitoringiostat
0 likes · 17 min read

This guide explains how to monitor Linux server performance using built‑in tools such as top, vmstat, pidstat, iostat, netstat, sar and tcpdump, interpreting their output to diagnose CPU, memory, disk I/O and network issues quickly and effectively.
LinuxPerformance Monitoringiostat
0 likes · 17 min read

The article explains how the Linux ss command provides a faster, more detailed view of TCP/UDP sockets than netstat, lists its key features, demonstrates practical examples for filtering by state, address, and port, and shows how to use various ss options for effective network diagnostics.
LinuxNetwork MonitoringSocket
0 likes · 8 min read

This guide explains how to diagnose the “Address already in use” error by listing listening ports with netstat, ss, and lsof, interpreting their output, filtering results, and locating the offending process on Linux and macOS systems.
lsofnetstatnetwork
0 likes · 7 min read

This guide explains how to use essential Linux networking utilities—including ifconfig, ping, traceroute, netstat, dig, nslookup, route, host, arp, ethtool, iwconfig, and hostname—covering their purpose, common options, and practical command‑line examples for system administration tasks.
digifconfignetstat
0 likes · 11 min read

This article explains how to detect full and half TCP connection queue overflows on Linux servers by interpreting netstat -s output, examining relevant kernel MIB counters, and reviewing the underlying source code, while also offering practical tips for accurate monitoring.
Network MonitoringTCPconnection queue
0 likes · 9 min read

This guide explains nine common Windows network commands—ping, ipconfig, arp, traceroute, route, nslookup, nbtstat, netstat, and net—detailing their purpose, basic syntax, useful options, and step‑by‑step troubleshooting procedures to help diagnose connectivity issues.
ARPWindows commandsipconfig
0 likes · 17 min read

This article explains the inner workings of the Linux netstat command, walks through reading /proc/net/tcp and related files, demonstrates how to map sockets to processes, and provides a complete Go implementation of a lightweight netstat utility with code examples and detailed parsing logic.
GoLinuxSocket
0 likes · 12 min read

This guide walks through essential Linux server monitoring tools—top, vmstat, pidstat, iostat, netstat, sar, and tcpdump—explaining their output fields, what each metric reveals about CPU, memory, disk I/O, and network performance, and how to use them for effective troubleshooting and capacity planning.
LinuxSystem Monitoringiostat
0 likes · 17 min read

This guide explains how to use common Linux monitoring utilities—top, vmstat, pidstat, iostat, sar, netstat, and tcpdump—to observe CPU, memory, disk I/O, and network performance, interpret their output, and troubleshoot system bottlenecks effectively.
LinuxSystem Monitoringiostat
0 likes · 17 min read

This guide explains the most useful netstat options for Linux, showing how to list all connections, filter TCP or UDP sockets, disable DNS lookups, display process IDs, monitor listening ports, continuously refresh output, and use grep or awk to map ports to processes and summarize socket states.
LinuxNetwork Monitoringcommand-line
0 likes · 8 min read

This guide offers a practical overview of essential Linux networking tools—including netstat, ss, sar, iftop, and tcpdump—explaining how to monitor connections, analyze traffic, capture packets, and tune kernel parameters to handle massive connection loads efficiently.
Operationsnetstatnetwork
0 likes · 10 min read

This article explains common awk built‑in variables such as OFS, NR, and NF, demonstrates practical awk one‑liners for extracting and formatting /etc/passwd data, and shows how to use netstat (and ss) together with awk to monitor network connection states on a Linux system.
LinuxSystem Monitoringawk
0 likes · 4 min read

This article explains how to diagnose Linux server network problems using common tools such as ping, a shell script for LAN scanning, traceroute, nslookup, netstat, and telnet, providing command syntax, example outputs, and guidance on interpreting results.
LinuxTelnetnetstat
0 likes · 7 min read

This guide explains how the Linux ss utility provides comprehensive socket statistics—including TCP, UDP, and Unix sockets—offers powerful filtering by state, address, and port, and demonstrates why it outperforms netstat in speed and resource usage through concrete command examples.
Linuxnetstatnetwork troubleshooting
0 likes · 9 min read

This guide walks you through essential Linux networking tools—netstat, ss, sar, iftop, tcpdump, and more—explaining how to monitor connections, analyze traffic, troubleshoot TIME_WAIT and CLOSE_WAIT issues, and tune kernel parameters for handling millions of concurrent sockets.
netstatperformancess
0 likes · 13 min read

This article documents a real‑world troubleshooting session of an Oracle JDK bug that caused a massive increase in CLOSE_WAIT connections, detailing the problem analysis, code inspection, reproduction steps, and the subsequent bug report to Oracle.
BackendBugReportImageIO
0 likes · 10 min read

This guide details essential Windows network troubleshooting commands—including ping, ipconfig, arp, traceroute, route, nslookup, netstat, and net—explaining their purposes, syntax, common options, and how to interpret results to diagnose connectivity, DNS, routing, and service issues.
Windows commandsipconfignetstat
0 likes · 17 min read

This guide introduces key Linux commands—such as uptime, who, uname, du, df, free, pmap, vmstat, ifconfig, ip, netstat, top, and pstree—to help you quickly assess system status, resource usage, and process relationships, enabling effective troubleshooting and maintenance.
LinuxSystem Monitoringdf
0 likes · 11 min read

This guide explains the most common Windows networking commands—ping, ipconfig, arp, traceroute, route, nslookup, netstat, and net—detailing their purpose, syntax, useful options, and example outputs to help you diagnose connectivity, routing, and configuration issues efficiently.
command-lineipconfignetstat
0 likes · 17 min read

This article introduces key Linux monitoring utilities—top, vmstat, pidstat, iostat, netstat, sar, and tcpdump—explains the meaning of their output fields, and shows how to use them to diagnose CPU, memory, disk, and network performance issues on production servers.
LinuxSystem Monitoringiostat
0 likes · 17 min read

This guide explains how to list all running Linux services, inspect their status, and examine service configurations using systemd commands, netstat, and the /etc/services file on CentOS/RHEL and older SysV init systems.
command-linenetstatsysadmin
0 likes · 6 min read


21CTOJan 17, 2019 · Operations
This guide compiles a comprehensive set of Linux command‑line techniques for parsing Apache and other web server logs, enabling you to count unique IPs, identify hot pages, filter bots, measure bandwidth, track connection states, and spot performance bottlenecks in a single, actionable reference.
Linux commandsNetwork Monitoringawk
0 likes · 13 min read

This guide shows how to quickly determine whether specific service ports are occupied on a Linux system using commands such as lsof and netstat, explains the meaning of key parameters, and provides a ready‑to‑run Python program that monitors port availability on any IP address.
LinuxPythonlsof
0 likes · 3 min read

This guide shows how to use Linux commands like lsof and netstat to identify occupied ports and provides a Python script that monitors specific IP ports for availability, complete with example outputs and explanations of key parameters.
Linuxlsofnetstat
0 likes · 2 min read

This guide walks you through essential Windows networking commands—ping, ipconfig, arp, traceroute, route, nslookup, netstat, and net—explaining their syntax, options, and practical use cases for diagnosing connectivity, routing, and configuration issues across local and remote networks.
Windows commandsipconfignetstat
0 likes · 16 min read

This article explains how TCP three‑way handshake, half‑ and full‑connection queues, and the backlog setting can cause intermittent client‑server connection failures, and shows how to detect and resolve queue overflows using netstat, ss, and proper backlog configuration.
JavaNIOTCP
0 likes · 12 min read

This guide explains how to use core Linux performance tools such as top, vmstat, pidstat, iostat, netstat, sar, and tcpdump to monitor CPU, memory, disk I/O, and network activity, interpret their metrics, and troubleshoot common bottlenecks on servers.
iostatnetstatpidstat
0 likes · 16 min read

This guide explains how to use Linux performance monitoring utilities such as top, vmstat, pidstat, iostat, sar, netstat, and tcpdump, describing each tool's output fields and showing how to interpret them for effective troubleshooting of CPU, memory, disk, and network issues.
Performance Monitoringnetstatpidstat
0 likes · 16 min read

This article explains how to detect whether inbound or outbound packets are being dropped on a Linux system, shows how to use netstat, dropwatch, and perf to pinpoint the cause, and provides step‑by‑step commands and example outputs for debugging packet loss.
Linux networkingdebuggingdropwatch
0 likes · 5 min read

This guide shows how to use Linux commands such as lsof and netstat to identify occupied ports, explains the meaning of key parameters, and provides a Python script that monitors specified IP ports for availability, complete with example output.
Pythonlsofnetstat
0 likes · 2 min read

Learn how to use a single netstat pipeline command to count established connections on port 80, giving you an immediate view of your web server's concurrent connection load for better performance monitoring and troubleshooting.
LinuxOperationsconcurrent connections
0 likes · 1 min read

A Linux admin recounts responding to a bandwidth‑saturation incident, discovering a suspicious sbin process hidden in /var/cache, using ifconfig, top, and netstat to reveal PPTP connections, and outlining the steps taken to identify and remove the malicious scripts.
Bandwidth HijackingLinuxMalware Investigation
0 likes · 6 min read
