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 06-14-2012, 08:46 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
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, 09:10 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
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, 06:51 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
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-14-2012, 11:36 PM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
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-14-2012 at 11:38 PM.
 
  


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

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

All times are GMT -5. The time now is 04:52 AM.

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