Tuesday, November 29, 2011

LSOF usage

List all open files in system: lsof
List all network connections: lsof -i
List all TCP connections: lsof -iTCP
List connections on specific port number: lsof -i : 139
List all files opened by user fred: lsof -u fred
List connections on specific host:lsof -i@192.168.0.3
List connection on specifics host and port:

No comments:

Post a Comment