Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
lsof
/
ss: socket stats summary
ss: socket stats summary
lsof
Print socket usage summary by state
ss -s
⎘ copy
#lsof
#linux
#network
#monitoring
more lsof
all 19 commands →
ss: filter by destination port
ss -tnp dst :443
Find owner of port
lsof -nP -i :<port>
All listening sockets
lsof -nP -iTCP -sTCP:LISTEN
Deleted open files
lsof +L1
Who holds a file before umount
lsof /mnt/<name>