LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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: 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, 10:10 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,468

Rep: Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799Reputation: 2799
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: Rocky 9.2
Posts: 18,415

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
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: 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-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

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

All times are GMT -5. The time now is 11:25 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