Name : perl-Unix-Getrusage
| |
Version : 0.03
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.7.1
| Date : 2023-07-20 16:11:33
|
Group : Development/Libraries/Perl
| Source RPM : perl-Unix-Getrusage-0.03-lp155.7.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl interface to the Unix B< getrusage> system call
|
Description :
Both _getrusage_ and _getrusage_children_ (no arguments) return what the *getrusage()* call returns: ressource utilization of either the calling process or its children. They return hash references (to avoid unneccessary copying) of the rusage struct:
use Unix::Getrusage; use Data::Dumper;
my $usage = getrusage; # see above print Data::Dumper->new([$usage])->Dump;
which outputs something like this:
$VAR1 = { \'ru_nivcsw\' => \'12\', \'ru_nvcsw\' => \'0\', ..., \'ru_utime\' => \'0.104414\', \'ru_stime\' => \'0.008031\', \'ru_nsignals\' => \'0\' };
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-U/15.5/x86_64 |