Inotify Example - Introduction to Inotify with a C Program Example
2010-05-24
160 words
1 min read
<a href="http://www.thegeekstuff.com/2010/04/inotify-c-program-example/">Inotify Example: Introduction to Inotify with a C Program Example:
<a class="zem_slink freebase/en/inotify" href="http://en.wikipedia.org/wiki/Inotify" title="Inotify" rel="wikipedia">inotify utility is an effective tool to monitor and notify <a class="zem_slink freebase/en/file_system" href="http://en.wikipedia.org/wiki/File_system" title="File system" rel="wikipedia">filesystem changes. You can specify a list of files and directories that needs to be monitored by inotify. This <a class="zem_slink freebase/guid/9202a8c04000641f8000000000023d0f" href="http://en.wikipedia.org/wiki/Library" title="Library" rel="wikipedia">library is used by various other programs. For example, <a class="zem_slink freebase/en/cpan" href="http://www.cpan.org/" title="CPAN" rel="homepage">CPAN module Linux::Inotify is developed based on this library.
iNotify Execution Flow
On a high-level, you do the following with inotify utility.<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.igvita.com/2010/04/30/distributed-coordination-with-zookeeper/">Distributed coordination with Apache Zookeeper (igvita.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/dt008/silverlight-4-3699769">Silverlight 4 (slideshare.net) <li class="zemanta-article-ul-li"><a href="http://codebetter.com/blogs/glenn.block/archive/2010/05/14/hello-mef-in-silverlight-4-and-vb-with-an-mvvm-light-cameo.aspx">Hello MEF in Silverlight 4 and VB! (with an MVVM Light cameo) (codebetter.com) <li class="zemanta-article-ul-li"><a href="http://blogs.msdn.com/brada/archive/2010/03/15/silverlight-4-and-ria-services-release-candidate-available-now.aspx">Silverlight 4 and RIA Services Release Candidate Available NOW (blogs.msdn.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/4a2f1dfe-9b7f-4f8d-95ce-f2443e7b09ac/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b76.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">
Related Articles:
- 2010/04/28 String and Array Creation
- 2010/01/24 Short Information about loaded kernel modules
- 2010/03/24 Recursive Regular Expressions
- 2010/03/16 Linux find command – Find file and directories faster and easier
- 2010/01/19 Perl script to create csv files with a pattern – Generic script.