pcp
[Top] [All Lists]

Fix proc.memory.vmswap description

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: Fix proc.memory.vmswap description
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Sun, 15 May 2016 20:39:31 +0300
Delivered-to: pcp@xxxxxxxxxxx
Organization: Red Hat
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
>From http://man7.org/linux/man-pages/man5/proc.5.html:

  * VmSwap: Swapped-out virtual memory size by anonymous private
    pages; shmem swap usage is not included (since Linux 2.6.34).

Confirmed by testing as well.

---
 src/pmdas/linux_proc/help_text.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pmdas/linux_proc/help_text.h b/src/pmdas/linux_proc/help_text.h
index 570394e..defd85d 100644
--- a/src/pmdas/linux_proc/help_text.h
+++ b/src/pmdas/linux_proc/help_text.h
@@ -19,7 +19,7 @@ help_text_t  help_text[] = {
 { .name = "psinfo.blocked_s",            .shorthelp = "blocked signals mask in 
string form (from /proc/<pid>/status)",        .longhelp = "" },
 { .name = "memory.vmexe",            .shorthelp = "virtual memory used for 
non-library executable code (from /proc/<pid>/status)",        .longhelp = "" },
 { .name = "id.egid_nm",            .shorthelp = "effective group name based on 
effective group ID from /proc/<pid>/status",        .longhelp = "" },
-{ .name = "memory.vmswap",            .shorthelp = "virtual memory that has 
been brought in and out.",        .longhelp = "" },
+{ .name = "memory.vmswap",            .shorthelp = "virtual memory size 
currently swapped out (from /proc/<pid>/status)",        .longhelp = "" },
 { .name = "psinfo.sigcatch_s",            .shorthelp = "caught signals mask in 
string form (from /proc/<pid>/status)",        .longhelp = "" },
 { .name = "id.egid",            .shorthelp = "effective group ID from 
/proc/<pid>/status",        .longhelp = "" },
 { .name = "psinfo.minflt",            .shorthelp = "count of minor page faults 
(i.e. reclaims)",        .longhelp = "" },

Thanks,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>
  • Fix proc.memory.vmswap description, Marko Myllynen <=