Friday, October 7, 2011

LSOF command

Usage example:

#lsof -i TCP (Show all open TCP files)

#lsof -i TCP:80 (Show open TCP files on port 80)

#lsof -c passwd (to find out what files opened when execute this command)

#lsof /dev/sda3 ( which files opened for a device)

No comments:

Post a Comment