1Unix::Statgrab::sg_pageU_ssetratCso(n3t)ributed Perl DocUunmiexn:t:aSttiaotngrab::sg_page_stats(3)
2
3
4

NAME

6       Unix::Statgrab::sg_page_stats - container for libstatgrab paging
7       statistics
8

DESCRIPTION

10       "Unix::Statgrab::sg_page_stats" is a Perl package name providing
11       accessors to bundled libstatgrab sg_page_stats <http://www.i-
12       scream.org/libstatgrab/docs/sg_get_page_stats.3.html> paging
13       statistics.
14

METHODS

16   nentries
17       Returns the number of entries in the container.
18
19   systime
20       Returns the seconds since Epoch (0:00:00 on January, 1st 1970) of the
21       time measure the paging statistics.
22
23   as_list
24       Deprecated alias of "fetchall_hash"
25
26   fetchall_hash
27       Returns all records from sg_page_stats <http://www.i-
28       scream.org/libstatgrab/docs/sg_get_page_stats.3.html> container as list
29       of hash containing each datum name as key and the datum as value.
30
31   fetchall_array
32       Returns all records from sg_page_stats <http://www.i-
33       scream.org/libstatgrab/docs/sg_get_page_stats.3.html> container as list
34       of arrays containing the values in following order:
35
36         (pages_pagein pages_pageout systime)
37
38       in that order without leading headline.
39
40   fetchall_table
41       Returns all records from sg_page_stats <http://www.i-
42       scream.org/libstatgrab/docs/sg_get_page_stats.3.html> container as list
43       of arrays containing the values in following order:
44
45         (pages_pagein pages_pageout systime)
46
47       in that order including leading headline.
48
49   fetchrow_arrayref($row = 0)
50       Returns one row as array containing values as above.
51
52   fetchall_arrayref
53       Returns all records from sg_page_stats <http://www.i-
54       scream.org/libstatgrab/docs/sg_get_page_stats.3.html> container as
55       array of arrays without header.
56
57   fetchrow_hashref($row = 0)
58       Returns one row as hash containing "{ pages_pagein =>
59       $self.pages_pagein($row), pages_pageout => ... }".
60
61   fetchall_hashref
62       Returns all records from sg_page_stats <http://www.i-
63       scream.org/libstatgrab/docs/sg_get_page_stats.3.html> container as
64       array of hashes.
65
66   colnames
67       Returns list of column names: "(pages_pagein pages_pageout systime)"
68
69   pages_pagein
70       The number of pages swapped into memory.
71
72   pages_pageout
73       The number of pages swapped out of memory (to swap).
74
75   get_page_stats_diff
76       Provides the difference between the last measurement and the recent
77       one.
78
79         $recent->get_page_stats_diff($last);
80

AUTHOR

82       Jens Rehsack, <rehsack AT cpan.org>
83
85       Copyright (C) 2012-2018 by Jens Rehsack
86
87       This library is free software; you can redistribute it and/or modify it
88       under the terms of the GNU Lesser General Public License as published
89       by the Free Software Foundation; either version 2.1 of the License, or
90       (at your option) any later version.
91
92
93
94perl v5.30.1                      2020-01-30  Unix::Statgrab::sg_page_stats(3)
Impressum