Changes

527 bytes added ,  08:43, 12 April 2013
no edit summary
Line 28: Line 28:  
  $ ~/crtools/crtools restore -d -t 2221 -vvv -o restore.log && echo OK
 
  $ ~/crtools/crtools restore -d -t 2221 -vvv -o restore.log && echo OK
 
  OK
 
  OK
 +
 +
$ ./test.sh
 +
$ ps -C test.sh
 +
  PID TTY          TIME CMD
 +
  2621 pts/1    00:00:00 test.sh
 +
 +
$  ~/crtools/crtools dump -t 2621
 +
(00.012929) Error (tty.c:1022): tty: Found dangling tty with sid 940 pgid 2621 (pts) on peer fd 0. Consider using --shell-job option.
 +
(00.013111) Error (cr-dump.c:1636): Dumping FAILED.
 +
$ ~/crtools/crtools dump -vvvv -o dump.log -t 2621 --shell-job && echo Ok
 +
Ok
 +
$  ~/crtools/crtools restore -vvvv -o restore.log -t 2621 --shell-job
 +
Fri Apr 12 12:41:09 MSK 2013
 +
Fri Apr 12 12:41:10 MSK 2013