Solved

Directory/File Events

Posted on 2004-03-27
2
220 Views
Last Modified: 2010-04-20
I am new to linux programming, comming from years of windows development.  Is there a directory/file event facility like .NET has with its "FileSystemWatcher" functionality?

Thanks
0
Comment
Question by:Bear7137
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 250 total points
ID: 10695200
You can use Mono's FileSystemWatcher, but there is no general feature that would allow this under Linux. Mono is an open implementation of .NET (http://www.go-mono.com)
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10696397
lsof (list open files) is the nearest thing I can think of. You can pick any process/user and find out what files are in use including any library files.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question