![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Detecting incoming files without busy polling | baldyeti | Shell Programming and Scripting | 9 | 08-15-2008 08:06 AM |
| Polling an FTP site for a file | Peejay | UNIX for Advanced & Expert Users | 6 | 07-15-2008 02:22 PM |
| How to implement polling for a function using timer in C? | naan | High Level Programming | 7 | 11-19-2007 01:00 AM |
| Polling/Interrogate Directory Questions | dnidiffer | Shell Programming and Scripting | 1 | 06-14-2005 06:20 PM |
| Help - Polling Script | brianmu | High Level Programming | 1 | 09-06-2001 07:15 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to avoid polling???
Hi all,
I have a directory where some process is keeping incremental/new log files. I need to code a program which will periodically poll this directory and if it founds a new file arrived then copy that new file to some other specific directory. We are OK with this polling approach. I just wanted to know is there any way to get notification i.e. a kind of signal or interrupt which invokes my program after the new file arrives in first directory so that I can avoid this polling time and also save processor memory. Thanks... |
| Forum Sponsor | ||
|
|
|
#3
|
|||
|
|||
|
Thanks radoulov .. this is good info..
But I am using SunSolaris .. |
|
#4
|
||||
|
||||
|
You could try searching the Net for FAM.
I've never used it so I cannot give additional info. P.S. There is even FEM: Quote:
|
||||
| Google The UNIX and Linux Forums |