The proc file system provides information on the current status of the Linux kernel and running process. It also allows modifications of kernel parameters in simple ways during runtime Each process in the system that is currently running is assigned a directory /proc/pid, where pid is the process identification number of the relevant process There are also files and directories for process independent information such as loaded modules, used bus systems etc. Disadvantages of Proc There is no interface for the individual files, every user has to find out where and how the information that is required is hidden in the file Another disadvantage is that all information is output as strings, therefore conversion is always necessary for further processing Structure of File system struct proc_dir_entry { unsigned short low_ino; //inode number unsigned short namelen; //length of the name const char *name; //name of the entry mode_t mod
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc