Help for this page

Select Code to Download


  1. or download this
    The parent perl script - parent.pl
    ---------------------------------------
    ...
    print "I am b.pl\n";
    sleep(6000000);
    print "I am gonna die...\n";
    
  2. or download this
    
    [root@onong ~]# ps aux | grep a.sh
    ...
    read(3, 0x17082210, 4096) = ? ERESTARTSYS (To be restarted) <---------
    +----- DOESN"T RETURN 0
    --- SIGCHLD (Child exited) @ 0 (0) ---
    read(3, <----------------- KEEPS WAITING IN READ(2)
    
  3. or download this
    [root@onong ~]# ps aux | grep b.pl
    root 29350 0.0 0.0 77884 1488 pts/4 S+ 03:15 0:00 /usr/bin/perl /root/
    +b.pl
    ...
    ) = 15
    exit_group(0) = ?