LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2010, 04:13 AM   #16
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55

Dear i92guboj,
Thanks for reply..

Do we need to download inotify tool and compile it ? OR

Does it comes with major distors like RHEL. Because I am using RHEL 5.3 where I could not find inotify executables.

How to check weather our kernel support inotify tools ? Do we need to compile any modules and insert to running kernel if it doesn't support inotify tools ?

Thanks again..
 
Old 02-23-2010, 04:21 AM   #17
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by vinaytp View Post
Dear i92guboj,
Thanks for reply..

Do we need to download inotify tool and compile it ? OR

Does it comes with major distors like RHEL. Because I am using RHEL 5.3 where I could not find inotify executables.
The package is usually called something like "inotify-tools", it can vary from distro to distro as said above.

The command line tools included in that package are not called "inotify", they are called "inotifywait" and "inotifywatch".

It should be shipped on most mainstream distros, but I have no experience with RHEL so I can't be sure.

The home site for the inotify tools is this:
http://inotify-tools.sourceforge.net/

Quote:
How to check weather our kernel support inotify tools ? Do we need to compile any modules and insert to running kernel if it doesn't support inotify tools ?

Thanks again..
Any up to date distro will support it. I guess that a good way to find that would be the existence of /proc/sys/fs/inotify/.
 
Old 02-23-2010, 06:35 PM   #18
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,352

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try

yum list '*inotify*'
yum search inotify

http://kbase.redhat.com/faq/docs/DOC-2531
According to this, its there http://www.redhat.com/docs/manuals/e...ES-x86-en.html somewhere
 
Old 02-26-2010, 03:05 AM   #19
saranraj
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
thanks boss. inotify is the best solution...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync display count of files during list building sadarax General 2 10-05-2009 10:32 PM
How to get list or count of unleased ips from dhcpd3? matiasquestions Linux - Networking 2 07-24-2008 02:57 AM
Need to count contents of a directory shipon_97 Linux - Newbie 9 08-17-2007 12:31 AM
Count the number of files in a directory and sub-directories within that directory soumyajit.haldar Linux - Software 4 03-20-2007 06:22 AM
how to get count of files in a directory? hongxing Linux - Software 2 11-10-2005 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration