List open files by process lsof

Show all files (sockets, regular, pipes) opened by nginx

lsof -p $(pgrep nginx) | head -30