public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* lsof?
@ 2018-05-03 21:46 Ulli Horlacher
  2018-05-04  2:57 ` lsof? Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Ulli Horlacher @ 2018-05-03 21:46 UTC (permalink / raw)
  To: cygwin

I need to know if a file is opened by another process, but there is no
lsof cygwin package. 
Is there an alternative?


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20180503214600.GA12645@rus.uni-stuttgart.de>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lsof?
  2018-05-03 21:46 lsof? Ulli Horlacher
@ 2018-05-04  2:57 ` Brian Inglis
  2018-05-04  6:41   ` lsof? Ulli Horlacher
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2018-05-04  2:57 UTC (permalink / raw)
  To: cygwin

On 2018-05-03 15:46, Ulli Horlacher wrote:
> I need to know if a file is opened by another process, but there is no
> lsof cygwin package. 
> Is there an alternative?

Program fuser in package psmisc.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lsof?
  2018-05-04  2:57 ` lsof? Brian Inglis
@ 2018-05-04  6:41   ` Ulli Horlacher
  0 siblings, 0 replies; 3+ messages in thread
From: Ulli Horlacher @ 2018-05-04  6:41 UTC (permalink / raw)
  To: cygwin

On Thu 2018-05-03 (20:57), Brian Inglis wrote:
> On 2018-05-03 15:46, Ulli Horlacher wrote:
> 
> > I need to know if a file is opened by another process, but there is no
> > lsof cygwin package. 
> > Is there an alternative?
> 
> Program fuser in package psmisc.

Great!

~: uname
CYGWIN_NT-6.1

~: fuser -v /tmp/test
                     USER        PID ACCESS COMMAND
/tmp/test:           admin      1328 F.... perl

~: man fuser | fpg -p AUTHORS
AUTHORS
       Werner Almesberger <werner@almesberger.net>

Werner is an old friend of mine! The world is a village :-)


-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<b163cc31-6dec-9048-13ae-56a442d41b49@SystematicSw.ab.ca>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-04  6:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 21:46 lsof? Ulli Horlacher
2018-05-04  2:57 ` lsof? Brian Inglis
2018-05-04  6:41   ` lsof? Ulli Horlacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).