- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitor transactions on a file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:19 AM
05-29-2002 11:19 AM
Monitor transactions on a file
I dont really care who did the modification, just what was modified. The file is not plain ASCII.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:31 AM
05-29-2002 11:31 AM
Re: Monitor transactions on a file
Hi,
Two points:
If the file has been modified or updated you can use the find cmd:
#find / -name core -mtime +1
This cmd will find the core files that were modified in the last day.
You also can check this using a script to do the command su,, like this:
smp1:/> sum agenda.dat
61977 1 agenda.dat
If the file is modified the sum ( checksum )changes.
To check what was modified you can create a script to control the file size and save each day it contents to a backup file. To check what was modifies do a diff cmd:
diff filename filename.save
And you??ll have the modifications
Regards,
Bassoi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:35 AM
05-29-2002 11:35 AM
Re: Monitor transactions on a file
find / -name "filename" -mtime +days
Will tell you which files are modified or accessed within "days".
Well it will be difficult to see what is the difference unless the file is saved and then you can use diff.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 11:59 AM
05-29-2002 11:59 AM
Re: Monitor transactions on a file
Im looking more to :
At N position in file characters XXX are now YYYY.
One more point I might add is the fact that the file has a static size but the content changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2002 12:42 PM
05-29-2002 12:42 PM
Re: Monitor transactions on a file
There is a commercial product called Tripwire that monitors changes to files. That's about the extent of my knowledge of Tripwire.
In a quick search of the web I find references to AIDE - a free replacement for Tripwire. However I couldn't get web pages for it to load. Perhaps the site was down.
One last page:
http://cc.uoregon.edu/cnews/spring2001/tools.html
This refers to Tripwire, AIDE, and a Perl script, FCheck. I haven't checked it out but thought you may want to.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 07:38 AM
06-05-2002 07:38 AM