Name : perl-Linux-Smaps
| |
Version : 0.14
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 17:37:34
|
Group : Development/Libraries/Perl
| Source RPM : perl-Linux-Smaps-0.14-lp155.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl Interface to /proc/PID/smaps
|
Description :
The _/proc/PID/smaps_ files in modern linuxes provides very detailed information about a processes memory consumption. It particularly includes a way to estimate the effect of copy-on-write. This module implements a Perl interface.
The content of the _smaps_ file is a set of blocks like this:
0060a000-0060b000 r--p 0000a000 fd:01 531212 /bin/cat Size: 4 kB Rss: 4 kB Pss: 4 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 4 kB Referenced: 4 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB
Each one describes a virtual memory area of a certain process. All those areas together describe its complete address space. For the meaning of the items refer to your Linux documentation.
The set of information announced by the kernel depends on its version. Early versions (around Linux 2.6.14) lacked for example \'Pss\', \'Referenced\', \'Swap\', \'KernelPageSize\' and \'MMUPageSize\'. \'Linux::Smaps\' provides an interface to all of the components. It creates accessor methods dynamically depending on what the kernel reveals. The \'Shared_Clean\' entry for example mutates to the \'Linux::Smaps::VMA->shared_clean\' accessor. Method names are built by simply lowercasing them. The actual set of methods is created when the first _smaps_ file is parsed. Subsequent \'update\' or \'Linux::Smaps->new\' operations expect exactly the same file format. That means you cannot parse _smaps_ files from different kernel versions by the same perl interpreter.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-L/15.5/noarch |