[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to find the list and number of processes opened by a process?



Hi All,

I am trying to get some process stats like command name, pid, ppid, state, number of files opened stc. And printing it through a proc entry. I am not sure how could I find number of files opened by a process. I went through some docs they mentioned about

fdtable, fd_set, fd_array but, got confused with them.

Please given me some guide lines or links from where I can understand the concept.

Thanks and Regards,
Prasad.