[완료] 프로그램의 프로세스 이미지를 파일로 백업하기

beonit의 이미지

현재 실행중인 프로그램의 프로세스 이미지를 파일로 백업하고,
동일한 상태로 다시 실행시키는 일이 가능할까요?

윈도우던, 리눅스던

엠브리오의 이미지

Windows가 설치된 노트북에서 맨날 하는 일이 이거 아닌가요?

일명 하이버네이션 기능.

barrios의 이미지

Hibernation은 시스템 전체를 snapshot하고 resume하는 것이라고보면,
OpenVZ나 Linux mainline tree에 merge하기 위해 노력하는
C/R feature는 (http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-09/msg09479.html)
어플리케이션별로 snapshot을 만들기 위한 것입니다

하지만 이런 feature는 한계가 있습니다.
Application별로 다른 프로세스들과의 dependency도 있을 뿐더러,
application이 snapshot되는 시점에 어떤 device context에 application이 물려 있는가도
관건이 됩니다. 결코 쉬운 작업이 아니어서 Linux kernel tree에 merge되는 것이 결코
쉽지 않은 작업입니다. ^^;
USENIX 논문을 찾아 보시면 Zap을 사용하여 하는 방법에 관한 paper도 있습니다만,
아쉽게도 zap은 OpenSource는 아닙니다. 그 외에 Checkpoint/Resume으로
검색해보시면 몇가지 solution들을 찾으실 수 있을 겁니다.
도움이 되셨기를. ^^;

clique의 이미지

프로세스 레벨이라면,
Berkeley Lab Checkpoint/Restart (BLCR) 라는 녀석이 있습니다.

https://ftg.lbl.gov/CheckpointRestart/CheckpointRestart.shtml

예전에 아주 잠깐 테스트 해본적이 있었는데... 요샌 어떨지 잘 모르겠네요.

시스템 레벨이라면 잘 알려진 많은 가상화 솔루션들에서 대체로 snapshot이라는 이름으로 지원합니다.

feanor의 이미지

ckpt라는 툴이 있는데, 그럭저럭 잘 돌아갑니다. 프로세스를 파일로 덤프해 줍니다.
http://pages.cs.wisc.edu/~zandy/ckpt/

Hol Light라는 툴이 따로 save기능이 없는데, 그 툴 매뉴얼에 보면 ckpt를 쓰라고 나오더군요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.