How determine if a file is opened by another process
Tom Christiansen
tchrist at convex.COM
Thu Jan 31 14:59:07 AEST 1991
>From the keyboard of rrandall at zach.fit.edu (Rick Randall):
: ANSWER: man fuser
Well...... maybe. Try fstat(8) [BSD], fuser(8) [SysV],
and ofiles(8) [PD]. Should these all fail to exist, pstat(8)
output (with the -i and/or -f flags) can often be massaged
into something informative enough to get the job done.
--tom
--
"Hey, did you hear Stallman has replaced /vmunix with /vmunix.el? Now
he can finally have the whole O/S built-in to his editor like he
always wanted!" --me (Tom Christiansen <tchrist at convex.com>)
More information about the Comp.unix.questions
mailing list