Who's using my files?
Good morning / afternoon / night (delete as appropriate for your timezone)
I have a very basic problem which is pretty much the same under all the versions of linux I use.
Occasionally, when I try and eject a CD, the system complains that it is in use, even although I have definitely stopped using it and CD'd out to somewhere else.
A while ago I sort of remember seeing mention somewhere of a prog that tells you who is using what files in a given directory tree.
Does anyone else know about this? What is it called? Has it been here all along and I just never saw it?
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
--- Paul Furness <[email protected]> a
écrit : > Good morning / afternoon / night (delete as
Quoted 3 lines
appropriate for your
timezone)
rm -f /etc/localtime ? :-)
Quoted 11 lines
I have a very basic problem which is pretty much the same under all the
versions of linux I use.Occasionally, when I try and eject a CD, the system complains that it is
in use, even although I have definitely stopped using it and CD'd out to
somewhere else.
automount ?
Quoted 6 lines
A while ago I sort of remember seeing mention
somewhere of a prog that
tells you who is using what files in a given
directory tree.
lsof
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
Quoted 5 lines
Does anyone else know about this? What is it called? Has it been here
all along and I just never saw it?
it hasn't been in many linux distributions. Now it
seems that many distributions have lsof because
it's an important security tool
Quoted 3 lines
Paul.
=====
--
The UNIX Hierarchy - Beginner
- insecure with the concept of a terminal
- has yet to learn the basics of "vi"
- has not figured out how to get a directory
- still has trouble with typing <RETURN> after each line of input
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Am Freitag, 12. Juli 2002 12:49 schrieb Paul Furness:
Quoted 6 lines
A while ago I sort of remember seeing mention somewhere of a prog that tells you who is using what files in a given directory tree.
Does anyone else know about this? What is it called? Has it been here all along and I just never saw it?
'fuser' should tell you the pid of the process who is using your CDROM-drive. I think that's exactly that what you need?!
Robin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Thanks, everyone.
The best tool in the end has turned out to be 'lsof' which does, indeed, ship with many current distros.
P.
Quoted 29 lines · Paul Furness
Good morning / afternoon / night (delete as appropriate for your timezone)
I have a very basic problem which is pretty much the same under all the versions of linux I use.
Occasionally, when I try and eject a CD, the system complains that it is in use, even although I have definitely stopped using it and CD'd out to somewhere else.
A while ago I sort of remember seeing mention somewhere of a prog that tells you who is using what files in a given directory tree.
Does anyone else know about this? What is it called? Has it been here all along and I just never saw it?
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Signature · 13 lines
Paul Furness Systems Manager Visual Information Laboratory Mitsubishi Electric ITE BV - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs