diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-10-23 19:57:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 19:57:17 +0200 |
commit | 89ae354ab7704db69a3f6c880234d21719558511 (patch) | |
tree | b8a87ef018d4f0e7cef48111bfe001390224ba8c /psutil/_pslinux.py | |
parent | ba083a0eea87331b67b57c3c83e8cc53faa12b10 (diff) | |
download | psutil-89ae354ab7704db69a3f6c880234d21719558511.tar.gz |
[FreeBSD] process resource limits (#1859) (#809)
Diffstat (limited to 'psutil/_pslinux.py')
-rw-r--r-- | psutil/_pslinux.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py index d5ce358c..683cef5d 100644 --- a/psutil/_pslinux.py +++ b/psutil/_pslinux.py @@ -80,12 +80,6 @@ HAS_PROC_IO_PRIORITY = hasattr(cext, "proc_ioprio_get") HAS_CPU_AFFINITY = hasattr(cext, "proc_cpu_affinity_get") _DEFAULT = object() -# RLIMIT_* constants, not guaranteed to be present on all kernels -if HAS_PRLIMIT: - for name in dir(cext): - if name.startswith('RLIM'): - __extra__all__.append(name) - # Number of clock ticks per second CLOCK_TICKS = os.sysconf("SC_CLK_TCK") PAGESIZE = os.sysconf("SC_PAGE_SIZE") |