- or download this
#!/usr/bin/perl
use strict;
...
print "Parent exiting at " . localtime() . "<br>\n";
print STDERR "Parent exiting at " . localtime() . "\n";
exit(0);
- or download this
Parent start at Thu Dec 4 09:03:33 2008
First child at Thu Dec 4 09:03:33 2008
...
Parent forking again at Thu Dec 4 09:03:38 2008
Parent exiting at Thu Dec 4 09:03:38 2008
Second child at Thu Dec 4 09:04:28 2008
- or download this
[Thu Dec 04 09:03:33 2008] [error] [client 127.0.0.1] Parent start at
+Thu Dec 4 09:03:33 2008
[Thu Dec 04 09:03:33 2008] [error] [client 127.0.0.1] First child at T
+hu Dec 4 09:03:33 2008
...
[Thu Dec 04 09:04:28 2008] [error] [client 127.0.0.1] Second child at
+Thu Dec 4 09:04:28 2008
[Thu Dec 04 09:04:28 2008] [error] [client 127.0.0.1] File does not ex
+ist: /var/www/html/favicon.ico, referer: http://localhost/cgi-bin/tes
+t.pl
[Thu Dec 04 09:05:18 2008] [error] [client 127.0.0.1] Second child aft
+er STDOUT close at Thu Dec 4 09:05:18 2008