开发者

How to use Event notification in Solaris 10 when a directory changes?

开发者 https://www.devze.com 2023-01-02 08:21 出处:网络
I read Robert Benson\'s article \"The Event Completion Framework for the Solaris Operating System\" on ECF.

I read Robert Benson's article "The Event Completion Framework for the Solaris Operating System" on ECF.

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 "File Events Notification" which has what I need but it is for Solaris 11, which is not in the market yet.

Based 开发者_运维技巧on "Event ports and performance", I don't want to use poll because I want to get the performance advantage of events.

Any suggestion is highly appreciated!


Event ports are a generic mechanism not specific to file or directory changes.

There wasn't support to generate these events for file or directory changes until NV build 72 (after Solaris 10 was released).

0

精彩评论

暂无评论...
验证码 换一张
取 消