From: Valdis.Kletnieks@vt.edu
To: Prateek Donni <prateek.donni@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: A kind of file monitor
Date: Tue, 13 Jan 2009 18:09:28 -0500 [thread overview]
Message-ID: <12935.1231888168@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 13 Jan 2009 14:35:05 +0530." <a80c86b70901130105v74feff29y445a82e0694d3d89@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
On Tue, 13 Jan 2009 14:35:05 +0530, Prateek Donni said:
> Hey guys , i needed some help on building a file monitor which
> monitors alll file accesses and manages historical data of the same,
> kindly tell if 'inotify' can be good enough for the same
You may or may not be better served looking at the audit subsystem, but
it's unclear what you need. Some things you have to consider:
1) Do you want all reads/writes, or is open/close/mmap sufficient?
2) What latency do you need? Does the monitor need to deal with it in
real time (the same second or so), or is "auditd writes to a logfile and
we read it from a cron job" good enough?
3) What are the penalties/failure modes if you fail to capture an access event?
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
prev parent reply other threads:[~2009-01-13 23:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a80c86b70901100833k7a2f3667hcada40f7737530@mail.gmail.com>
2009-01-13 9:05 ` Prateek Donni
2009-01-13 23:09 ` Valdis.Kletnieks [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12935.1231888168@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=prateek.donni@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®