Process, port, and file usages in Linux
Use lsof
, fuser
, ss
, pgrep
, pstree
, ps
, htop
, etc. to find process, port and file usages in Linux.
Use lsof
, fuser
, ss
, pgrep
, pstree
, ps
, htop
, etc. to find process, port and file usages in Linux.
The Test-NetConnection cmdlet is great and verbose but too slow if the remote port to check is not opened. This is due to its timeout setting and cannot be modified. In this port, I will show you a custom function that leverages the power of System.Net.Sockets.TcpClient to accelerate the port test.