LinuxQuestions.org
Review your favorite Linux distribution.
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 06-14-2012, 09:46 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Rep: Reputation: 48
daemon to monitor files being modified


Is there some kernel module which can log all files modified not their access date or time but only those whose contents have changed .
 
Old 06-14-2012, 10:10 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,430

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Perhaps inotifywait would meet your requirements. It can be run in daemon mode to monitor many events. The modify event would indicate anytime a file changed. There is the problem that multiple events could be logged.
 
Old 06-14-2012, 07:51 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
If this is just for a few of your own files, that would work.
If this is more for a system-wide security situation, the check out Samhain/Aide/Tripwire and ask the Mods (via the Report button) to move this to the Security forum.
 
Old 06-15-2012, 12:36 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
I was looking for monitoring all mounted file systems even the external pluggable USB .

I will read https://github.com/rvoicilas/inotify...iki/#wiki-info , http://xaroumenosloukoumas.wordpress...h-inotifywait/
Is there any other link which provides my need ?

Last edited by sumeet inani; 06-15-2012 at 12:38 AM.
 
  


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
xorg.conf modified and monitor not recognised andreyro Linux - Newbie 2 11-05-2009 12:12 PM
files modified ? sachin1361 Linux - Enterprise 1 03-13-2007 04:11 AM
gnu make recompiles the source files fully even though the files are not modified yasothamani Linux - Software 4 02-07-2007 07:36 AM
files modified by adduser flying-tuxman Linux - Newbie 1 01-07-2006 08:48 PM
Files modified by switchdesk benjaminrtz Linux - General 1 01-25-2003 11:05 AM


All times are GMT -5. The time now is 09:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration