X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 To: cygwin AT cygwin DOT com Subject: Re: lsof? Message-ID: <20180504064152.GC12645@rus.uni-stuttgart.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20180503214600 DOT GA12645 AT rus DOT uni-stuttgart DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 is an old friend of mine! The world is a village :-) -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher AT tik DOT uni-stuttgart DOT de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF: -- 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