Help for this page

Select Code to Download


  1. or download this
    ken@titan ~/tmp/pm_11151665_io_socket
    $ ls -l
    ...
    -rwxr-xr-x 1 ken None  50 Apr 15 11:57 process.sh
    -rwxr-xr-x 1 ken None 464 Apr 15 13:58 server.pl
    -rw-r--r-- 1 ken None 200 Apr 15 14:01 test.log
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
    EOT
        sleep 5;
    }
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
            system('sh', 'process.sh', $read);
        }
    }
    
  4. or download this
    #!/usr/bin/env sh
    
    echo -e "$*" >> test.log 2>&1
    
  5. or download this
    $ cat test.log
    GET /DATA_String/{send_num = 1}HTTP/1.1
    ...
    GET /DATA_String/{send_num = 3}HTTP/1.1
    GET /DATA_String/{send_num = 4}HTTP/1.1
    GET /DATA_String/{send_num = 5}HTTP/1.1