summaryrefslogtreecommitdiff
path: root/psutil/_pslinux.py
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-05-12 16:27:52 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-05-12 16:27:52 +0200
commit971d4ebcb0f8991f3eafdaf543589298f19dcf93 (patch)
treef296fa709204c2c603c73078e6e0144b1b6504d5 /psutil/_pslinux.py
parent3775929b7b6dc802abd32028f17585f82fbb12be (diff)
downloadpsutil-971d4ebcb0f8991f3eafdaf543589298f19dcf93.tar.gz
check broken links: also inspect py files
Diffstat (limited to 'psutil/_pslinux.py')
-rw-r--r--psutil/_pslinux.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py
index 7c075f41..92e6c22b 100644
--- a/psutil/_pslinux.py
+++ b/psutil/_pslinux.py
@@ -319,7 +319,8 @@ except Exception:
def calculate_avail_vmem(mems):
"""Fallback for kernels < 3.14 where /proc/meminfo does not provide
- "MemAvailable:" column (see: https://blog.famzah.net/2014/09/24/).
+ "MemAvailable:" column, see:
+ https://blog.famzah.net/2014/09/24/
This code reimplements the algorithm outlined here:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/
commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773