Help for this page

Select Code to Download


  1. or download this
      exec("ps -ef | grep $process");
  2. or download this
      #!/usr/bin/perl -w
      use strict;
      use Shell 'ps';
    
      my $process = "perl";
      my @output  = grep /$process/ => ps("-ef");