Is a file in writting
Hi.
I need to know if some user is writing a file. Is there any command to know this. Thanks. Stephane |
One possibility would be with the lsof command. It lists open files. Be warned, you will get lots of output. Piping it into grep or to a text file would be advisable :)
EDIT: lsof is a system command. So you'll likely need to be root to execute it... |
The ps command lists all running processes, by user, including the path to applications and files they may be using. Examples of commands: ps aux, ps --User <username>. See the man pages for more info on how to use ps.
|
All times are GMT -5. The time now is 04:04 PM. |