compare realtime


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting compare realtime
# 8  
Old 02-27-2007
With the concept of tail -f, only the script was provided, where you have the list updated in the file 'update' every 'n' seconds maintained in the for loop, if you want to refresh the list as soon as possible, decrement the sleep time.

Though I had not done extensive testing for the posted script. I just verified whether the update file is getting refreshed and it worked for me.

Am sure the required difference would be necessarily be captured.

Please post us with what is needed and whats happening! Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copying files realtime

I have a primary server where certain files are created real time. These files have varying file sizes. I want to FTP or copy them over to a different server server as soon a file gets created. I have to ensure that only full file is copied. The receiving end process expects a FULL file. I am ok... (3 Replies)
Discussion started by: vskr72
3 Replies
Login or Register to Ask a Question
MP_CompareOIDs(3MPAPI)				   Common Multipath Management Library Functions			    MP_CompareOIDs(3MPAPI)

NAME
MP_CompareOIDs - compare two object IDs SYNOPSIS
cc [ flag... ] file... -lMPAPI [ library... ] #include <mpapi.h> MP_STATUS MP_CompareOIDs(MP_OID oid1, MP_OID oid2); PARAMETERS
oid1 An object ID that has type MP_OIDs for two objects to compare. oid2 An object ID that has type MP_OIDs for two objects to compare. DESCRIPTION
The MP_CompareOIDs() function compares two object IDs (OIDs) for equality to see whether they refer to the same object. The fields in the two object IDs are compared field-by-field for equality. RETURN VALUES
MP_STATUS_FAILED The object IDs do not compare. MP_STATUS_SUCCESS The two object IDs refer to the same object. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard: ANSI INCITS 412 | | |Multipath Management API | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libMPAPI(3LIB), attributes(5) Multipath Management API Version 1.0 SunOS 5.11 15 Feb 2006 MP_CompareOIDs(3MPAPI)