X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=Pkk3
	Hb+B7qATi6ESSq2stYEOgxEdlY4Mf8Oi2VXFPjQuTMkrgWES6SC4tGaQKNnk1WGI
	yBK+tos1do459VT2aCEDMRREec019uQrGtXq03PvzIRQmjmPIh+IBZkYoF/f0xpx
	Mp84w0z2p1ds+9R3PG2IOu3itcNvxUITTw5Aelc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=yTwbZA2a90
	IuGwEDky6Yqv5tTLg=; b=EBuNNOTBrUrwCnntnH+a/FL7+CmvmpMBbPIMWs9wEJ
	p0xw9koOtjn8i2mr2SZfAtpzFyKpiCvXLMo4EUBMwwGlo81hFSi7VFv7TwAACWsM
	pBXs5K2IWd7JKz/H391S+++k4xAUy4ONxXKi/43y50ubdMU2xXwS59W8pxaDE/aX
	U=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=village, D*ca, USER, H*M:uni
X-HELO: smtp02.belwue.de
Date: Fri, 4 May 2018 08:41:52 +0200
From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: cygwin@cygwin.com
Subject: Re: lsof?
Message-ID: <20180504064152.GC12645@rus.uni-stuttgart.de>
Mail-Followup-To: cygwin@cygwin.com
References: <20180503214600.GA12645@rus.uni-stuttgart.de> <b163cc31-6dec-9048-13ae-56a442d41b49@SystematicSw.ab.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <b163cc31-6dec-9048-13ae-56a442d41b49@SystematicSw.ab.ca>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-IsSubscribed: yes

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

