Changes

73 bytes added ,  14:31, 12 April 2013
Line 39: Line 39:     
== Dumping one shell job ==
 
== Dumping one shell job ==
Now let's try to dump a program, which is using a terminal. For that we need to execute our test script or another program (e.g. "top") from a terminal without redirections. crtools supports only [http://en.wikipedia.org/wiki/Pseudo_terminal Unix98 PTYs].
+
Now let's see how to dump the same program when it is just launched from shell without additional setsid-s and stdio-s redirection.
 +
 
 +
For that we need to execute our test script or another program (e.g. "top") from a terminal without redirections. crtools supports only [http://en.wikipedia.org/wiki/Pseudo_terminal Unix98 PTYs].
 
  $ ./test.sh
 
  $ ./test.sh
 
  $ ps -C test.sh
 
  $ ps -C test.sh