Examples
$ openfiles -h
Usage: openfiles [r|w|R|W] regex
$ openfiles nginx
Files opened for writing:
-rw-r----- 1 nginx root 38G May 3 18:35 /data/nginx/stats.log
-rw-r----- 1 nginx root 0 Jan 13 03:06 /var/log/nginx/access.log
-rw-r----- 1 nginx root 154M May 3 18:35 /var/log/nginx/error.log
$ openfiles R nginx
No files opened for reading (only).