Browse Source

convert linux time to seconds

master
Zane C. B-H 2 years ago
parent
commit
07dfadee26
  1. 4
      Proc-ProcessTable-ncps/lib/Proc/ProcessTable/ncps.pm

4
Proc-ProcessTable-ncps/lib/Proc/ProcessTable/ncps.pm

@ -731,6 +731,10 @@ sub timeString{
my $self=$_[0];
my $time=$_[1];
if ( $^O =~ /^linux$/ ){
$time=$time/100000;
}
my $hours=0;
if ( $time >= 3600 ){
$hours = $time / 3600;

Loading…
Cancel
Save