Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'system "ps Tf ; sleep 1"'
    
  2. or download this
      PID TTY      STAT   TIME COMMAND
    29353 pts/7    S      0:00 bash                                   # th
    +e initial interactive command shell
    29388 pts/7    S+     0:00  \_ perl -e system "ps Tf ; sleep 1"   # yo
    +ur Perl script
    29389 pts/7    S+     0:00      \_ sh -c ps Tf ; sleep 1          # a 
    +shell started by system()
    29390 pts/7    R+     0:00          \_ ps Tf                      # a 
    +subprocess run by the shell