How to get number FDs occupied by a processes without using losf? <p>I am trying to get number of FDs occupied by my processes , i tried with lsof , unfortunately it is taking too much of time . If there any other way to get this number , i also tried looking at /proc//fd , but didn't find what i am looking for.</p>