From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 757E9C31E45 for ; Thu, 13 Jun 2019 15:22:22 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 429702054F for ; Thu, 13 Jun 2019 15:22:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U5Tx7Vh7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 429702054F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92) (envelope-from ) id 1hbRYD-0000Kn-UV; Thu, 13 Jun 2019 11:22:05 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1hbRYA-0000Kg-UD for kernelnewbies@kernelnewbies.org; Thu, 13 Jun 2019 11:22:03 -0400 Received: by mail-pf1-x42f.google.com with SMTP id c85so12070144pfc.1 for ; Thu, 13 Jun 2019 08:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wVSWmohefCgfWbGj9aVKPteiMvakgtvH9p/N4xwFqFE=; b=U5Tx7Vh7yp3jsvi7h8NBOvfXG2D9PAUPqwCI7A+Svq3n/g7tBH0FU33m1p0iLonh4O neqgLZjyltTCVw5DCD+vZSB12hWMxn1rdNM0otlQcWkXAvZel9pJgFgt5n9ZhRYNRP+t cxVFu+7dGqY0f7dmVL4hBJKSFw8xk63CEF2dpQAHsM9diSupGx7F7RmZjtbwKClFTAnI eUvGdGiS5sqhZFcI2Y8DJ8iBHAeNRLZyIA95wZArtk3zRb/07CbCPdfW7b570kP/nmHG QIRnXhypkB4f4MgpWJWhWg2PGdmrLeeqBUyOa9LjojHBwxnEyHRM4glpSQAUBsDgiEkK dKTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wVSWmohefCgfWbGj9aVKPteiMvakgtvH9p/N4xwFqFE=; b=iY/peWvRnSicM2Mp92iNaZGKc+RWcPA0fvWF2mjwZbvgkWvw8f9RIRW8I7jyKTIJpK YITa5Yt/gbMWT4WdHqW7a0h2p0U/qGciy7JLCcTlX2s2cSy1CGPpHjDi6UC+Tws/uE4S 3c7PaCMuc34Q4k9Ozc0ekS6o/m818g+zxnwoiXIavxfyRNYiSLbuEwrP1AnWVn0h0ysj 0XCebxjnfdvhe+eB1Ont4CnLBorgE84vFt5NrISesat4wdMFMakmnT7qJHy8304BxDiD De+mrzrY0Bgu016yIFP+uOui62JWZKSKlN1SMISkJJ4iuIY6Kj7WIzuGGgUAMxkqXBeV SVTQ== X-Gm-Message-State: APjAAAVgWzowb707gzP1nr2KnoKBO0PAQT/9agAkqgqqXXy+XB4SpKvM CGh0ZsDes9eR/5bZhD9Y8a3djuTckr42SYRbPOObwiXA X-Google-Smtp-Source: APXvYqy+ln9RGCkLXTWDlvhH0lHCvL1h4POShdmw2bCZy0ZuVfgFw8IGaOMHJWBREB+45DL6hkgF9GE6NhaBWxk2dqY= X-Received: by 2002:a65:6649:: with SMTP id z9mr12914383pgv.413.1560439321626; Thu, 13 Jun 2019 08:22:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Elias Kouskoumvekakis Date: Thu, 13 Jun 2019 18:21:50 +0300 Message-ID: Subject: Re: Pause a process execution from external program To: Pintu Agarwal Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2000483855789993102==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============2000483855789993102== Content-Type: multipart/alternative; boundary="000000000000758d42058b361743" --000000000000758d42058b361743 Content-Type: text/plain; charset="UTF-8" On Thu, Jun 13, 2019 at 10:45 AM Pintu Agarwal wrote: > > For some reason, I want to halt/pause the execution (for some > specified time) of a running process/thread (at some location), > without modified the source, may be by firing some events/signals from > an another external program, by specifying the address location or a > line number. > > Is this possible ? Hi Pintu, have you looked at the CRIU project which can do a checkpoint / restore of a running process? https://criu.org/Main_Page I think it's what you need, although I've never used it myself. Some other projects and how they compare to CRIU are listed below: https://criu.org/Comparison_to_other_CR_projects Best, Elias --000000000000758d42058b361743 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Jun 13, 2019 at 10:45 AM Pintu Agarwal <pintu.ping@gmail.com> wrote:
>= ;
> For some reason, I want to halt/pause the execution (for some
= > specified time) of a running process/thread (at some location),
>= ; without modified the source, may be by firing some events/signals from> an another external program, by specifying the address location or a<= br>> line number.
>
> Is this possible ?

Hi Pintu,
have you looked at the CRIU project which can do a checkpoint / restor= e of a running process?

https= ://criu.org/Main_Page

I think it's what you need, although I= 've never used it myself.

Some other projects and how they compa= re to CRIU are listed below:

https://criu.org/Comparison_to_other_CR_projects<= br>
Best,
Elias

--000000000000758d42058b361743-- --===============2000483855789993102== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============2000483855789993102==--