>_ linuxcommand.dev
Startseite lsof
Monitoring

lsof

List open files and sockets

Syntax
$lsof [options] [names]
Optionen
-i
-p
-u
-c
Examples
Examples
$lsof
Examples
$lsof -i :80
Examples
$lsof -p PID
Examples
$lsof -u username
Warnings
Requires root privileges for all processes
Typical use cases
Find open ports
Check file locks
Analyze network connections
Note Lists all open files and network sockets.
Export