![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| monitoring a specific file on Tru64 | aladdin | UNIX for Dummies Questions & Answers | 5 | 07-13-2007 10:41 AM |
| Monitoring | magasem | AIX | 1 | 11-06-2006 05:27 AM |
| File growth monitoring | jeyanthan_kr | Filesystems, Disks and Memory | 1 | 05-18-2006 02:32 PM |
| Monitoring file in a directory | pete_leon | Shell Programming and Scripting | 3 | 11-12-2005 02:30 PM |
| file system monitoring script | g-e-n-o | Shell Programming and Scripting | 1 | 04-08-2002 03:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
file monitoring
Hi i am am monitioring a file every 60 seconds and checking if the file has changed and if it has changed i append the changes to another file. i am able to monitior the change in file size but i have a problem copying the changes made in the file to another file. i am using lseek to seek the last position of the file before changes were made
|
|
||||
|
if the changes made to the file that is monitored is only update at the end ... (appending )
then with file size of the unmodified file x and the size of modified file y then append ( y -x ) bytes to the new file by positioning the file pointer in the modified file directly to (x + 1)th byte |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|