summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2015-09-01 12:14:43 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-09-01 12:14:43 -0300
commit4c4bf61462191f6af40f88148f8328b948d616ab (patch)
treed6a528ec9379b484718eee82fe54975f1870ba00
parent6000b1f731e364c5084aad3df48518681fbe4aae (diff)
downloadpython-linux-procfs-4c4bf61462191f6af40f88148f8328b948d616ab.tar.gz
smaps: Add documentation
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-xprocfs/procfs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/procfs/procfs.py b/procfs/procfs.py
index 08a511c..18761fb 100755
--- a/procfs/procfs.py
+++ b/procfs/procfs.py
@@ -748,6 +748,11 @@ class smaps_lib:
class smaps:
+ """
+ List of libraries mapped by a process. Parses the lines in
+ the /proc/PID/smaps file, that is further documented in the
+ procfs(5) man page.
+ """
def __init__(self, pid):
self.pid = pid
self.entries = []