NAME

Linux::Statm::Tiny - simple access to Linux /proc/../statm

VERSION

0.0502

SYNOPSIS

use Linux::Statm::Tiny;

my $stats = Linux::Statm::Tiny->new( pid => $$ );

my $size = $stats->size;

INSTALLATION

See How to install CPAN modules.

Required Modules

This distribution requires Perl v5.8.8.

This distribution requires the following modules:

RECENT CHANGES

Enhancements

  • Page size is only read once when the class is loaded.

See the Changes file for a longer revision history.

DESCRIPTION

This class returns the Linux memory stats from /proc/$pid/statm.

SEE ALSO

proc(5).

AUTHOR

Robert Rothenberg rrwo@thermeon.com

COPYRIGHT

Copyright 2014-2015, Thermeon Worldwide, PLC.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.