DMTCP_RESTART(1)

πŸ’– dmtcp_restart β€” bestie edition πŸ’–

okay so this is the manual page for dmtcp_restart(1), part of Distributed MultiThreaded CheckPointing (DMTCP), and honestly? she's giving resurrection. like, bringing processes back from the dead energy. no cap. πŸ¦‹


✨ NAME ✨

dmtcp_restart β€” restart processes from given checkpoint images. that's it, that's the whole job, and she does it flawlessly. πŸ’…


🌸 SYNOPSIS 🌸

dmtcp_restart [OPTIONS] ckpt1.dmtcp [ckpt2.dmtcp...]

πŸŽ€ DESCRIPTION πŸŽ€

so basically dmtcp_restart restarts processes from the checkpoint image files you hand her. you give her the .dmtcp files, she gives you your processes back. iconic behavior, truly. πŸ‘‘

also, important lil side quest: DMTCP also writes out a shell script for restarting all the processes. where does it live? by default it's written in the current directory of the coordinator. noted. πŸ“


πŸ’œ OPTIONS πŸ’œ

πŸ”Œ Connecting to the DMTCP Coordinator πŸ”Œ

  • -h, --coord-host hostname β€” (environment variable DMTCP_COORD_HOST) the hostname where dmtcp_coordinator is running. default: localhost. like, she's right there bestie, just say hi. 🫢
  • -p, --coord-port port β€” (environment variable DMTCP_COORD_PORT) the port where dmtcp_coordinator is running. default: 7779. remember it, love it. ✨
  • --port-file filename β€” file to write the listener port number to. (super useful with --port 0, which is the vibe you use to assign a random port.) 🎲
  • -j, --join β€” join an existing coordinator. if one doesn't already exist? she raises an error. no fake friends here, it's giving exclusive. πŸ’€
  • --new-coordinator β€” create a new coordinator at the given port. fails if one already exists on that port. the port can be specified with --coord-port, or with the environment variable DMTCP_COORD_PORT. and if you specify no port at all? she starts the coordinator at a random port β€” same as specifying port '0'. surprise!! πŸŽ‰
  • -i, -interval seconds β€” (environment variable DMTCP_CHECKPOINT_INTERVAL) time in seconds between automatic checkpoints. 0 implies never (manual ckpt only, queen of self control). if it's not set and there's no env var, it uses the default value set in dmtcp_coordinator or dmtcp_command. not allowed if --join is specified. 🚫

🌈 Other options 🌈

  • --run-as-root β€” allow root to run dmtcp_restart and disable uid checking. (default: disabled). root privileges but make it permissive, i guess. πŸ‘‘
  • --no-strict-uid-checking β€” (environment variable DMTCP_DISABLE_UID_CHECKING) disable uid checking for the checkpoint image. this means the checkpoint image can be restarted by a different user than the one who created it. sharing is caring fr fr. 🀝
  • --ckptdir path β€” (environment variable DMTCP_CHECKPOINT_DIR) directory to store checkpoint images. (default: use the same directory used in the previous checkpoint β€” she remembers where she was, loyal.) πŸ“
  • --tmpdir path β€” (environment variable DMTCP_TMPDIR) directory to store temporary files. (default: $TMDPIR/dmtcp-$USER@$HOST or /tmp/dmtcp-$USER@$HOST) πŸ—‚οΈ
  • -q, --quiet β€” (or set the environment variable DMTCP_QUIET = 0, 1, or 2) skip NOTE messages. if you give it twice, she also skips WARNINGs. shhh bestie, we're being mysterious. 🀫
  • --help β€” print this message and exit. bestie behavior: always show the menu. πŸ“œ
  • --version β€” print version information and exit. 🏷️

😭 REPORTING BUGS 😭

found a bug? spill the tea to: dmtcp-forum@lists.sourceforge.net

DMTCP home page: <http://dmtcp.sourceforge.net>


πŸ‘€ SEE ALSO πŸ‘€

dmtcp(1), dmtcp_coordinator(1), dmtcp_launch(1), dmtcp_restart(1), dmtcp_command(1)

the whole friend group. go read them all, iykyk. πŸ’–


🫢 AUTHOR 🫢

see /usr/share/doc/dmtcp-3.0.0/AUTHORS. the legends themselves. 🌟


⭐ VERSION ⭐

DMTCP version 3.0.0 of November, 2017.


see the /usr/share/doc/dmtcp-3.0.0/COPYING file.

License LGPLv3+: GNU LGPL version 3 or later, <http://gnu.org/licenses/lgpl.html>.

this program comes with ABSOLUTELY NO WARRANTY. it is free software, and you are welcome to redistribute it under certain conditions; see the COPYING file for details.

and that's the whole page, bestie!! πŸ’… this was dmtcp_restart(1) from Distributed MultiThreaded CheckPointing, version 3.0.0, dated November, 2017 β€” so like, vintage but still serving. slay, periodt. πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from