HostOnNet Blog

Can’t locate Time/HiRes.pm

When running bytes unixbench on a linux server, i get error

Can't locate Time/HiRes.pm in @INC

To fix, you need to find which package provides this file, this is done with command

yum whatprovides "*/Time/HiRes.pm"

Now to install package, run

yum install -y perl-Time-HiRes

Posted in CentOS