IDENTIFY A PROCESSES
The command fuser is very handy when you want to know which processes or users have a file open. Its basic syntax is:
/etc/fuser -u /usr/my_application/foo
You must enter the file’s full path name, as shown above.
The fuser command is located under the /etc directory on HP-UX, AIX and SCO flavors. You must login as root to use it.
Its output is a raw list of processes id numbers and users login names.
Please refer to your Unix man pages to find more about this useful command.
- Unix tips at UGU
No comments yet
Jump to comment form | comments rss [?] | trackback uri [?]