Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: Elias Kouskoumvekakis <eliaskousk@gmail.com>
To: Pintu Agarwal <pintu.ping@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Pause a process execution from external program
Date: Thu, 13 Jun 2019 18:21:50 +0300
Message-ID: <CAAkou88o=Hi5Z1obYTynHYbUK9CCG0kSKkX89uQptcmGubvPAQ@mail.gmail.com> (raw)
In-Reply-To: <CAOuPNLifSHQmi+jCMzRGYz3kzct+NB_vyv-yiwL91adRZPkTrQ@mail.gmail.com>

[-- Attachment #1.1: Type: text/plain, Size: 721 bytes --]

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.

Some other projects and how they compare to CRIU are listed below:

https://criu.org/Comparison_to_other_CR_projects

Best,
Elias

[-- Attachment #1.2: Type: text/html, Size: 1011 bytes --]

<div dir="ltr">On Thu, Jun 13, 2019 at 10:45 AM Pintu Agarwal &lt;<a href="mailto:pintu.ping@gmail.com">pintu.ping@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; For some reason, I want to halt/pause the execution (for some<br>&gt; specified time) of a running process/thread (at some location),<br>&gt; without modified the source, may be by firing some events/signals from<br>&gt; an another external program, by specifying the address location or a<br>&gt; line number.<br>&gt;<br>&gt; Is this possible ?<br><br>Hi Pintu,<br><br>have you looked at the CRIU project which can do a checkpoint / restore of a running process?<br><br><a href="https://criu.org/Main_Page">https://criu.org/Main_Page</a><br><br>I think it&#39;s what you need, although I&#39;ve never used it myself.<br><br>Some other projects and how they compare to CRIU are listed below:<br><br><a href="https://criu.org/Comparison_to_other_CR_projects">https://criu.org/Comparison_to_other_CR_projects</a><br><br>Best,<br>Elias<div><br></div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

  parent reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13  7:43 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 [this message]
2019-06-17 12:19   ` Pintu Agarwal

Reply instructions:

You may reply publically 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='CAAkou88o=Hi5Z1obYTynHYbUK9CCG0kSKkX89uQptcmGubvPAQ@mail.gmail.com' \
    --to=eliaskousk@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=pintu.ping@gmail.com \
    /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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox