Menu

#11 feature request: set original name of the process upon mtcp_restart

open-fixed
None
2011-02-06
2011-02-04
Anonymous
No

so that things do not get forgotten while High importance tasks are taken care off

> > BTW -- is that a "feature" -- upon resuming using the generated shell
> > script resumed process is listed as mtcp_restart (in top) and not python
> > 21865 yoh 20 0 286m 198m 52 R 100 5.1 0:52.86 mtcp_restart
> The mtcp_restart process name is an artifact of the implementation.
> dmtcp_restart execs to mtcp/mtcp_restart, which then calls mmap to map
> in all the segments of memory prior to checkpoint. So, the kernel
> continues to know the restarted process as mtcp_restart. There
> are some tricks by which we could provide a more informative name,

Discussion

  • Kapil Arya

    Kapil Arya - 2011-02-06

    Fixed in revision 883.

    The original name of the process is restored along with /proc/pid/cmdline. It is prefixed with 'DMTCP:' to distinguish it from normal processes.

    --Kapil

     
  • Kapil Arya

    Kapil Arya - 2011-02-06
    • assigned_to: nobody --> karya
    • status: open --> open-fixed
     

Log in to post a comment.