Help for this page
The parent perl script - parent.pl --------------------------------------- ... print "I am b.pl\n"; sleep(6000000); print "I am gonna die...\n";
[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)
[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) = ?