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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=PUp
	W8LuqcM1g5zpjNr1TqRHahW2CcsXMQhc0sVR3PJwI1pwOurivkne4LvnTKgDKhKX
	ZDJbhofY5Hno40zu3brrD7TR9PREtv3OjCfKMq78TNsDqGBfNt2yV02Ank7WgrDF
	nghaIH6qA1teYfTqXaGuQkbF4A+Vyk3WhDDZB+iA=
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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; s=default; bh=AvkX7PuoF
	G4IhLtCo+oPtf0XkrQ=; b=kR6FqBloojVQiXurtsqCyX6bmj1BM0OSOU/OiKF4y
	Br/Cu3OKdRPKdzioK9QzzpbqEQvsFkmeEYygH0+qBZSIL/824cL+IFqKIQ0t0IlC
	DsjhJPpxpdR7Dc7PlEB3lafHlTMSMwyEbFMq3MI1ZDgRb03Hp4sXZ8n9TAcv76lF
	p0=
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-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=H*M:eurprd07, folder, monitor, our
X-HELO: EUR05-AM6-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EKQIcMVi8QpHOYekVvBexPFkx89Q1qQeXD9an/vUf1BYD72u4sCnY0yhSP9SpwS7OOVZGrNAtHle0F3LP4bg4OiXBiVtiz+7buLSpN5AuJmD1HFmyGYbwKjkUU3RiZrTeyLUDBBSND04NuSVyt/mZRSIkI6fRXOAQtyOxsqszUNeMkhon4Ur76zTS8KNkTT7ghOAtKXdGr4ltGwS1IQ8+sgrfEm0V2WuhsGoNxTTUIKn3/ucES4Jkev7febrnhEOA5zM/UMDrL7uTsIA4H7RnDpUYqO1GOtWSt2QwgfvE3klUFQKOYpvtmRcFilElmcE+NU2yRfP9IBQ/9peUD2BtQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UmUObCZ0VSgTb6Eccg23Cev1686ebR2CS3e/l6Z8guM=; b=XdJ0GESpWpDjq14GhOJ7uvXyObifmOj6WzbuP7nJnYDRWgwcOY0i0ueHLUtnZP+U+yXG8yoqbwg9XnPuU0YiECa7OmL/pFHVte/WBo9NeHhljTXO5fpq+Qlu61jjpOhwLq964WgjzFxpoev7BfIf/2kDXApCgwRwsu3aSRpOFppJta5JUlFpWxhB1ynOqgBu4LjyRdv1k1G8Ny11hAnl7QiMkUqb3KVNVkCC85nGILknzWNBD4866PGsREk6UxwlcP4d3nTO5IH6Bwt1tujtjGN7Cb7tm7cmFs5xIZ4HWGLZKlwzp3761Q8YGB8sPc4Ub/NgEf/Hatt4P1OkUmkXKQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=clarizen.com; dmarc=pass action=none header.from=clarizen.com; dkim=pass header.d=clarizen.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clarizen.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UmUObCZ0VSgTb6Eccg23Cev1686ebR2CS3e/l6Z8guM=; b=Gp+vDCz5ZhIFZquTlgkJLOHguuJbnVpX5nCGzZux7QtKbbQcc9ZIu+CEpiJhQgKh4YPJxSUui5o1dd6gQhqbI/3sWrjKBVJ+S0AzeWKqsqbf8I1HEJHJyjz98CGzfddmjxbqMwQQd94QMzrMVVysVCfhwmeO58JllAFXD7WtZzs=
From: Maayan Apelboim <Maayan.Apelboim@clarizen.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Debug background process
Date: Mon, 3 Feb 2020 10:55:17 +0000
Message-ID: <AM4PR07MB34733CA4AFEBBBD0694E7D4095000@AM4PR07MB3473.eurprd07.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Maayan.Apelboim@clarizen.com;
x-ms-oob-tlc-oobclassifiers: OLM:8273;
received-spf: None (protection.outlook.com: clarizen.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-messagedata: +yBWBGfCbTGQ7HKUtO4y0zwGswB6a4Aj4+dRDAndV97AvyDF2vUYOGB7IQU4tXukOpoWEvO5YWITmPWz0xAYTixzVnJ52olBjEfHMwPXscOHVQdQTbf6bkAA2jfj3ZgJIahtfDTLQXCQWDpvOdfHGQ==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: eOlIaARWICfIfE2vyivnn3NZiwrgvyiK6NHClphFPWXrdp52uc/BEacA6mYK/OA7+g5el+rQW67bGN8iQ03ZtHg3yTIupYPIVbptKh3xLn0=
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 013Atu31026641

Hello,

I have an external tool running automations on windows servers.
The tool connects the windows servers via Cygwin ssh and executing bash script (it copies the script automatically to the tmp folder and executes it).
Lately one of our automations started deleting the .ssh folder and I'm not sure what is the root cause (happens only on 3 specific servers out of 40).

Is there a way to debug / monitor background processes running in Cygwin?
Like moving the process to the foreground to see what it actually does?

Thanks,
Maayan



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


