Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    }
    
    print "child pid [$pid]\n";
    
  2. or download this
    $ perl tst.pl
    child pid [23367]
    $ ps ax | grep sleep
    23368 pts/7    S      0:00 sleep 30
    23371 pts/7    S+     0:00 grep --colour=auto sleep