Command
lsofExplanation
lsof lists open files and the processes that opened them.
Examples
List all open files
lsofShow processes using port 80
lsof -i :80Show processes using specific file
lsof /var/log/sysloglsoflsof lists open files and the processes that opened them.
List all open files
lsofShow processes using port 80
lsof -i :80Show processes using specific file
lsof /var/log/syslog