Install libbsd-resource-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libbsd-resource-perl
Description:
BSD process resource limit and priority functions
The BSD::Resource module provides the BSD process resource limit functions getrusage(), getrlimit(), setrlimit() and the BSD process priority functions. . These are also available via core Perl but here the PRIO_* constants are available: getpriority(), setpriority(). . Also provided is times() which provides the same functionality as the one in core Perl, only with better time resolution.
Homepage: https://metacpan.org/release/BSD-Resource
Version: 1.2911-1build2
Section: perl