title: Get list of open files (descriptors) in OS X
body: <p>I would like to get a list of open files in a process on os x (10.9.1). In Linux I was able to get this from <code>/proc/PID/fd</code>. However I'm not sure how to get the same on OS X. I found that the procfs is not present on the OS X (by default. possible implementations present, but I do not want to go that way). </p>
  
  <p>So how do I get (natively) the list of open files in a process on OS X. One way is <code>lsof</code>. is there any other support available? please let me know where I can get more info on this.</p>
  
  <p>Thanks.</p>