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

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

 



Hi,

maybe struct task_struct is that what you  are looking for.

martin

Prasad Joshi  wrote / napísal(a):
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.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux