public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: cygwin@cygwin.com
Subject: Re: lsof?
Date: Fri, 04 May 2018 06:41:00 -0000	[thread overview]
Message-ID: <20180504064152.GC12645@rus.uni-stuttgart.de> (raw)
In-Reply-To: <b163cc31-6dec-9048-13ae-56a442d41b49@SystematicSw.ab.ca>

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

      reply	other threads:[~2018-05-04  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 21:46 lsof? Ulli Horlacher
2018-05-04  2:57 ` lsof? Brian Inglis
2018-05-04  6:41   ` Ulli Horlacher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180504064152.GC12645@rus.uni-stuttgart.de \
    --to=framstag@rus.uni-stuttgart.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).