lsof (8) - list open files
# lsof -p
# lsof
# lsof -i :80
# lsof -i :443
Please click on " man lsof " to see the Manual Page for this command.