Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            print "$$: \tChild exiting at [".localtime()."] ...\n";
            exit(0);
    }
    
  2. or download this
    3978:   Child sleeping for 2 seconds ...
    3977: Parent sleeping 5 seconds at [Tue Jan 14 14:17:11 2003] ...
    3978:   Child exiting at [Tue Jan 14 14:17:13 2003] ...
    3977: Reaping a child process in child signal handler ...
    3977: That was refreshing.  The time is now [Tue Jan 14 14:17:13 2003]
    +.