Install libproc-wait3-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libproc-wait3-perl
Perl interface to the wait3() system call
Proc::Wait3 is a Perl extension that provides access to the wait3 system call, which is used to wait for state changes in child processes. Unlike wait, wait3 additionally returns child's resource usage information.