kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Pintu Agarwal <pintu.ping@gmail.com>
To: Elias Kouskoumvekakis <eliaskousk@gmail.com>
Cc: Kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: Pause a process execution from external program
Date: Mon, 17 Jun 2019 17:49:18 +0530	[thread overview]
Message-ID: <CAOuPNLh4TXWDX_GFChLrsLXCaPdxO7RwN=J0SYD-U=Z2G-DYzw@mail.gmail.com> (raw)
In-Reply-To: <CAAkou88o=Hi5Z1obYTynHYbUK9CCG0kSKkX89uQptcmGubvPAQ@mail.gmail.com>

On Thu, Jun 13, 2019 at 8:52 PM Elias Kouskoumvekakis
<eliaskousk@gmail.com> wrote:
>
> 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
> > 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.
>
OK. Thank you so much I will surely look into it.
Currently, we are exploring using ptrace.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2019-06-17 12:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13  7:43 Pause a process execution from external program Pintu Agarwal
2019-06-13  7:52 ` Shyam Saini
2019-06-13 14:53   ` Pintu Agarwal
2019-06-13 19:43   ` Valdis Klētnieks
2019-06-17 12:20     ` Pintu Agarwal
2019-06-13 15:21 ` Elias Kouskoumvekakis
2019-06-17 12:19   ` Pintu Agarwal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOuPNLh4TXWDX_GFChLrsLXCaPdxO7RwN=J0SYD-U=Z2G-DYzw@mail.gmail.com' \
    --to=pintu.ping@gmail.com \
    --cc=eliaskousk@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).