List open files and sockets. On FreeBSD, use procstat instead.

List deleted files

# For all filesystems
lsof -nP +L1
# For the filesystem at mountpoint /home
lsof -nP +aL1 /home