'Linux: Use Lsof to Find Which Files Are Open by a Process'

lsof works under linux and MacOS X and will help you figure out what files are open.

lsof | grep ‘mysqld’

If you found this post helpful, please consider sharing to your network. I'm also available to help you be successful with your distributed systems! Please reach out if you're interested in working with me, and I'll be happy to schedule a free one-hour consultation.