* Who's using my files?
@ 2002-07-12 10:49 Paul Furness
2002-07-12 11:42 ` szonyi calin
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Paul Furness @ 2002-07-12 10:49 UTC (permalink / raw)
To: linux-newbie
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Who's using my files?
2002-07-12 10:49 Who's using my files? Paul Furness
@ 2002-07-12 11:42 ` szonyi calin
2002-07-12 14:15 ` Robin Doer
2002-07-15 9:16 ` Paul Furness
2 siblings, 0 replies; 4+ messages in thread
From: szonyi calin @ 2002-07-12 11:42 UTC (permalink / raw)
To: Paul Furness, linux-newbie
--- Paul Furness <paul.furness@vil.ite.mee.com> a
écrit : > Good morning / afternoon / night (delete as
> appropriate for your
> timezone)
>
rm -f /etc/localtime ? :-)
>
> 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 ?
>
> 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/
>
> 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
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Who's using my files?
2002-07-12 10:49 Who's using my files? Paul Furness
2002-07-12 11:42 ` szonyi calin
@ 2002-07-12 14:15 ` Robin Doer
2002-07-15 9:16 ` Paul Furness
2 siblings, 0 replies; 4+ messages in thread
From: Robin Doer @ 2002-07-12 14:15 UTC (permalink / raw)
To: Paul Furness, linux-newbie
Am Freitag, 12. Juli 2002 12:49 schrieb Paul Furness:
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Who's using my files?
2002-07-12 10:49 Who's using my files? Paul Furness
2002-07-12 11:42 ` szonyi calin
2002-07-12 14:15 ` Robin Doer
@ 2002-07-15 9:16 ` Paul Furness
2 siblings, 0 replies; 4+ messages in thread
From: Paul Furness @ 2002-07-15 9:16 UTC (permalink / raw)
To: linux-newbie
Thanks, everyone.
The best tool in the end has turned out to be 'lsof' which does, indeed,
ship with many current distros.
P.
On Fri, 2002-07-12 at 11:49, Paul Furness wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
--
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-15 9:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-12 10:49 Who's using my files? Paul Furness
2002-07-12 11:42 ` szonyi calin
2002-07-12 14:15 ` Robin Doer
2002-07-15 9:16 ` Paul Furness
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.