mercredi 7 janvier 2015

How is /proc/net files getting populated in Linux/Unix?


I'm working on a network monitor for Linux, without packet sniffing. I'm planning to read the network statistics and related data from /proc/net files.


I know that /proc is the mount point of process file system which is a virtual file system that reflects the kernel internal data structure.


I like to know how is it populated and is it possible to read the OS internals directly.



Aucun commentaire:

Enregistrer un commentaire