How to tell when a file is read from disk or cache?

Joachim Backes joachim.backes at rhrk.uni-kl.de
Sat Nov 17 17:29:31 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/17/2012 05:15 PM, Philip Rhoades wrote:
> People,
> 
> Is there some way of doing this? - even for a simple situation like
>  opening a text file in Vim?
> 
> Thanks,
> 
> Phil.
> 

Perhaps this helps? See the following manpages:

Inotify			(7)	monitoring file system events
inotify_add_watch	(2)	add a watch to an initialized inotify
				instance
inotify_init		(2)	initialize an inotify instance
inotify_init1		(2)	initialize an inotify instance
inotify_rm_watch	(2)	remove an existing watch from an
				inotify instance

- -- 
Joachim Backes <joachim.backes at rhrk.uni-kl.de>

https://www-user.rhrk.uni-kl.de/~backes

PGP key ID: 0x1BB12F9E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJQp8l7AAoJEKzGLy0bsS+eAk0H/3DGqperZ9FLDagc3jhUq/yz
3IKthtE8kr4qKvhQyf2feIbEFUn4gt7hnwJJLLYzM0V81A+Wiycd6oigYEpp2hKC
441Hb/0YHTSxthduz4ww8wrmRaghlyQyBAWGJz1e44NJIR74yOITF6hXycVsQ7XQ
c236gE7X+5RO0cTymWKaHluMSKEadxdUyHp6x1SKOVbBN+EC+VBBHUNGN3Q/qO3B
pXE45oTEm3H3jyvtyc+hJu6WgvgwOHucJK+EeRLhFn4B8r8siD1En8wHkyjFLSO4
scS71LrPPCfdMjzAU0UCAIaSJgJgbqvfR1OmOlAc2pULCSLROr8NeIf/qU/O8AA=
=w6Vu
-----END PGP SIGNATURE-----


More information about the users mailing list