The command fuser is very
handy when you want to know
which processes or users
have a file open. Its basic
/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
Please refer to your Unix man pages
to find more about this useful command.
This tip generously supported by: firstname.lastname@example.org
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into