In my application of the process is getting out of file descriptors( MAX is configured as 64 ).
Is there any way i can call some function(s) in a C program to find out number of file descriptors currently used in a process?
Thanks.
Hi bomberman,
Thanks for your response however i did not see anything in this link about how can we see total number of FDs currently used by a process?
Anyway i found out at least one way: using lsof utility we can find out about the FDs currently used by a process!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.