Help for this page

Select Code to Download


  1. or download this
    my $command = "ps -ef | grep $version | grep online| awk '{print $2}'"
    +;
    print "Invoking: >>>$command<<<\n";
    my $output = `$command`;
    
  2. or download this
    my $command = sprintf q(ps -ef | grep %s | grep online| awk '{print $2
    +}'), $version;
    print "Invoking: >>>$command<<<\n";
    my $output = `$command`;