www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/05/08:27:25

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=BAygw94hRwf1oNVL
plK6nVovzmJI9XJmLBeanwpZzLVkUaDxybAzuvV4Rw2e3EeuHNEWo0HyF0bZMC8R
mfQuZ5O1ETHLM57oGz66vUp82SlVvdHIMFvJlT4zUHiZW7TLnxAmwVIpCHBvKzv9
K0q4rvyyxn+8ZZZmGGRBhTm6XL8=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=YCywdhvltjKdztiwbaM7kw
lYcaQ=; b=jV5ssoybEyj3tZ21xxzUytEtnjW3oacI34b4VFxf2EByulb3XQbC4x
HsISPnnI+px0oZWQtLhEBKNjGFKq5AhIK73c+NsuC1+viXqQ7M3Yupmytnu7ebqM
Az4th6G7IvWRshI/R2LXdXPA3KjRyBfjrr43y5Ni5T/w9iFR1wATY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=soderquist, Soderquist, cygwin64, H*RU:mout.gmx.net
X-HELO: mout.gmx.net
Subject: Re: Explicit dash rebaseall instructions from a CMD.EXE shell requested
To: cygwin AT cygwin DOT com
References: <CAFWoy7HE8d7G7_nThtGb6reBq=7ST6tBozCwQw07kmRMbkMcXA AT mail DOT gmail DOT com> <CACoZoo3z71LEJaw4ZR2viyXEhAnoZe9XXe6zWkPeGKEJ_6KcQg AT mail DOT gmail DOT com>
From: Herbert Stocker <hersto AT gmx DOT de>
Message-ID: <8d160a4f-0fae-a1c8-e4e2-f9e3e7e5b1d0@gmx.de>
Date: Fri, 5 Jan 2018 14:26:55 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <CACoZoo3z71LEJaw4ZR2viyXEhAnoZe9XXe6zWkPeGKEJ_6KcQg@mail.gmail.com>
X-UI-Out-Filterresults: notjunk:1;V01:K0:6D4Kqyg0RRQ=:V7YWJOvFv+ge2Z5lJoVzmG 6zGTkVR2xvgm103eNuEfiEzr/7/xd9hYmzPkHg/g8JIMxJp70Cas6RRZ+5by7cswlOOseDTnC 2qfT6t7jLVJ64qRnmZ5H9sIJUSgnS4rsu6YbncxdPa/vux2R1GQWX8M0VVD5790T0/lF1Th1L uTaIA8K1yF/MTllgQWkdHjN3k866/jsMalsv2gO5FvD1m2QDrIpT3p2aJS0qT9VzUG9C1lnEh vbFECmaAdVFVh37E6+huM/OXETlVhdUgCNfoIK9L1dr4T7334G814xhvxYe4sPhzU1V76Vn42 HEMjl3lrcp+Nx1OeYgdswWdpcfKrvrZ7cURByKs4VP0Ar3ArvFbFZcR2TMgJFzPIfdM4wu1a+ P2Z7DsuubRz82zRyg7QHwK3dYp59CCJZU9yIj9IxI72OCqMepWuB1H2DG66dWwcGD+cHUonfV D0I3sE4HtDPelDu72sMhzz5lNg2Kec0+KIwCP9fZjBB59efE0adAtj93x84l0//gbuROhYxC+ ApwNkn/w4f0H2BDxFR1iwajaCUxbp9uKi9abFROiuB8SFm3q5Z1/Onb2um3gBGoSx+BszIhm0 CPhUh+D3EFXmB8XdIxAT21RqOExL4tQDX+Jm0E5TIpSUNDtF/G5QHJVuUAdlfv2wtgGox59Rt 7zL+zGT5LKNBMeI6F95IdBAmq3yhGSao7DUeqcG1RGkwpUTEn7PJItRkaOIxHf5sYFwntE1nt SYJ+h4hbDM/KdeFdDh7tDJmGmfk8A5j7UbYj4w4pKEuEZsSqiniS41ppwuoleHxlkt2vur1Bw Z3mfbXIrmtjYJm5Ojd6TlPZU2u9laqrj72ml7XSgBE1UJ0IlkA=
X-IsSubscribed: yes


On 2018-01-04 19:21, Erik Soderquist wrote:
> When I had to rebase, I had to track down and stop all cygwin services
> as well.  I went to Windows Task Manager, added the image path name
> and sorted by it to find what all from cygwin was still running, and
> shut them down. 

Maybe just for the record, the Windows command line tool tasklist.exe
can list you all the Cygwin processes if you use the /m option.

# tasklist.exe /m cygwin1.dll

It sits in the System32 directory should you need an absolute path.

You can also automate the kill-all-those-processes operation with
this Batch code:

#
# cd C:\Cygwin64\Bin
#
# bash -c "/cygdrive/c/Windows/System32/taskkill -f 
$(/cygdrive/c/Windows/System32/tasklist.exe /m cygwin1.dll | /bin/tail 
-n +4 | while read a b c; do echo -en /pid $b ''; done)"
#
# ash.exe /bin/rebaseall -v
#

Please note that the part starting with   bash   and ends with   done)"
is a single line.

If using it, check if the   tail -n +4   works for your version of Windows.


best regards,

Herbert

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019