LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   /proc (https://www.linuxquestions.org/questions/programming-9/proc-244953/)

eltn 10-20-2004 01:20 AM

/proc
 
is anyone have an easy example of /proc file?

fblucher 10-20-2004 01:25 AM

???????????????


Why? What are you trying to do?

/proc is a virtual file system with 1000s of files that represent various aspects of the running system.



Finn.

eltn 10-20-2004 04:15 AM

its a project from my university
 
i have to make /proc file that count how many sys calls where since the boot

blackzone 10-20-2004 04:52 AM

not sure but don't you just do a normal read and write?

I'm not sure but you can try writing a daemon which counts all the function call since boot and write it to a file under proc?

blackzone 10-20-2004 04:58 AM

sorry, it must be run by a kernel module which I have no idea how to do. maybe someother people can help

vishalbutte 02-16-2006 11:24 AM

did u got any proc example.....flz fwd me also...i want to read me kernel data structure in proc file.


thanks in advance


All times are GMT -5. The time now is 09:02 PM.