Tagged Questions
6
votes
2answers
188 views
Is it possible to know who visited my home directory?
Suppose there are many users in a Linux cluster, each of them has his own HOME directory under /home/xxx, with xxx being his user name (or account). If the initial system configuration allows these ...
1
vote
2answers
132 views
How to know recently updated files
If I run iostat -x 1 I saw ocassionally large 5MB to 10MB writes.
What files are being written?
I want to check the recently created files with size over 5MB for example.
How would I do so?
3
votes
2answers
133 views
Unix command to find files read by specific user
I would like to find files accessed by specific user (even just read) within a folder tree. I thought the find command had this option, but it actually just searches for owner user. Is there any other ...
1
vote
1answer
151 views
How can I monitor if anybody (any process) access is certain file [duplicate]
Possible Duplicate:
Access history of a file
I know if a file is "being accessed" I can use lsof to see who (which process) is accessing it, but lsof is slow and heavy and I don't think I ...
11
votes
5answers
6k views
Script to monitor folder for new files?
How do I detect new files in a folder with a bash script? I would like to process the files as soon as they are created in the folder. Is this possible to do so or do I have to schedule a script with ...
6
votes
3answers
649 views
How to run a command when a directory's contents are updated?
There is a directory A whose contents are changed frequently by other people.
I have made a personal directory B where I keep all the files that have ever been in A.
Currently I just occasionally ...
5
votes
3answers
2k views
List the files accessed by a program
time is a brilliant command if you want to figure out how much CPU time a given command takes.
I am looking for something similar that can list the files being accessed by a program and its children. ...
3
votes
2answers
500 views
Access history of a file
I was wondering if there are any tools to keep track of the access history of a file. I know of stat, but as far as I understand, it only returns information about the last time the file was accessed.
...
1
vote
1answer
505 views
Automount lookup failed. How to determine what is trying to access the file?
Is there a way to find out what is trying to mount this file?
Jul 13 14:27:24 myhost automount[13527]: lookup(file): lookup for
tmp_dir failed
Something is looking for "tmp_dir", and I've ...
2
votes
1answer
117 views
Is there a way to determine which process creates a file on osx 10.6.8
I would like to know which process has created files on os X 10.6. I'm trying DTrace, which probably will give the right answer, but I have not eyes to see the method. I'm doing this because I think ...
17
votes
4answers
4k views
Determine which process is creating a file
Given file path, how can I determine which process creates it (and/or reads/writes to it)?
4
votes
4answers
5k views
Linux file access monitoring
Is there any way in unix to find out who accessed certain file in last 1 week? It may be user or some script ftp it to some other place. Can I get a list of user name who accessed certain file? How ...
8
votes
4answers
1k views
Is it possible to find out what program or script created a given file?
Three files have suddenly appeared in my home directory, called "client_state.xml", "lockfile", and "time_stats_log". The last two are empty. I'm wondering how they got there. It's not the first time ...