Results 1 to 4 of 4
We have a folder in which several dozen files get updated simultaneously. Our software is encountering issues detecting changes to this file, and our developers are stating that the changes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-17-2010 #1
- Join Date
- Dec 2010
Text File Tracker & Logger for Linux
Do you know of any such utilities that track changes to Linux files, what changes were made and at what time? The util would need to monitor the folder every 500 miliseconds.
PS: It isn't always the last line in the file that is edited. THe changes can be made anywhere in the TXT file.
- 12-17-2010 #2
You are describing the purposes of a version control system.
Subversion comes to mind.
However, updates (commits) every 500ms might be a problem.You must always face the curtain with a bow.
- 12-17-2010 #3
Alternatively -if the file structure allows-, let the application write to a dedicated database.You must always face the curtain with a bow.
- 12-17-2010 #4
As I understand it, with a journaling filesystem, changes aren't necessarily written immediately to disk. The software may commit the changes, and think it was written, but the filesystem writes to disk when it decides to. I don't quite understand why you need to check for changes every few milliseconds, but if you really require that, then you need a different filesystem, I think.