Hey, entries in /proc are generally just callbacks to "read" functions you implement. There is nothing like value in /proc getting refreshed after particular time. Each time you open the /proc file your callback function gets called and that function puts the contents in the /proc/<filename> buffer. So each time u call read on /proc file what ever your callback returns gets showed as contents of file. If u want to file gets refreshed only after 2 mins, implement this functionality in the callback itself. i.e. 1. store the value u get at time x in a buf 2. whenever function gets called if diff between current time and time at which I stored the value is more that 2 mins 3. If YES then call the actual callback routen ELSE just dump the old values stored in the buffer. HTH, Aniruddha http://aniruddha.talk.to On Fri, 2004-05-28 at 12:30, linux lover wrote: > hello, > i want to know whether the kernel writes to /proc dir > at each seconds or as data updates are avialable? > actually i want to acheive the updation to /proc entry > after 2 minute interval. i successfully created a > /proc/net/mytext entry but it updates that file at > each seconds not after specific interval. i also use > jiffies and add a timer function to be called after > update to file but it will not be reflecting? the file > is updates at every seconds? help me. > regards, > linux_lover > > > > > __________________________________ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/