Help for this page

Select Code to Download


  1. or download this
    for ($etime){
      my ($dd,$hh,$mm,$ss)=()
    ...
        $etime_secs= $ss+($mm*60)+($hh*60*60)+($dd*24*60*60);
      }
    }
    
  2. or download this
    for ($etime){
      # see man ps etime looks like [[dd-]hh:]mm:ss
    ...
      $dd += 0;   # same as $hh :)
      $etime_secs= $ss+($mm*60)+($hh*60*60)+($dd*24*60*60);
    }