Liangxu Linux
Liangxu Linux
Mar 3, 2024 · Operations

How to Use LSOF for Real‑Time Port Monitoring on Linux

This tutorial explains how to use the Linux LSOF command to list open files, identify processes using specific ports, filter TCP connections, and continuously monitor network activity in real time with customizable intervals.

Command-lineNetworkSystem Administration
0 likes · 8 min read
How to Use LSOF for Real‑Time Port Monitoring on Linux
MaGe Linux Operations
MaGe Linux Operations
May 26, 2017 · Operations

How to Quickly Detect Occupied Linux Ports with Python

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.

PythonSystem Administrationlsof
0 likes · 2 min read
How to Quickly Detect Occupied Linux Ports with Python