Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #In this script the command system("date"); fails after 2 large arrays
    + have been setup.
    ...
    printf "\n\$?=0x%x \$!=%s\n", $?, $!;
    print "\n#End\n";
    exit;
    
  2. or download this
    ./xpt5.pl
                 total       used       free     shared    buffers     cac
    +hed
    ...
    $?=0x0 $!=Cannot allocate memory
    
    #End
    
  3. or download this
                 total       used       free     shared    buffers     cac
    +hed
    Mem:          3948       3927         21          0         42        
    +146
    -/+ buffers/cache:       3738        210
    Swap:         2392         36       2355
    
  4. or download this
    #!/usr/bin/perl
    #Run this file in the background ./daemon.pl&
    ...
        unlink ("ready");
      }
    }
    
  5. or download this
    #!/usr/bin/perl
    #First start the daemon in the background ./daemon.pl&
    ...
    while ( -e "ready" ) {sleep 2;}
    print "\n#End\n";
    exit;
    
  6. or download this
    ./daemon.pl&
    [3] 5270
    ...
    
    #End