How to use Event notification in Solaris 10 when a directory change

Posted by user357594 on Stack Overflow See other posts from Stack Overflow or by user357594
Published on 2010-06-03T14:42:54Z Indexed on 2010/06/03 14:44 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

I read the following page:

Robert Benson's article on ECF developers.sun.com/solaris/articles/event_completion.html

I also read the Solaris man pages but they are not very clear of how to use event notifications for directories. For example, If I add a new file into a directory, I would like to get some notification of that event.

I found this link: blogs.sun.com/praks/entry/file_events_notification Which has what I need but it is for Solaris 11 ( which is not in the market yet).

Based on the link below, I don't want to use poll because I want to get the performance advantage of events.

blogs.sun.com/dap/entry/event_ports_and_performance

Any suggestion is highly appreciated!

-Armando.

© Stack Overflow or respective owner

Related posts about event

Related posts about solaris