summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2022-01-07 12:19:44 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2022-01-07 12:19:44 +0100
commitce750b541dd4195ad3fc2d7f788d05d5139223ee (patch)
tree5b7f9b5bf17c13cee32f7928d93034fde3acde2f
parent06989cd9ef31170d0309389bb52ba7cc2c4f94c6 (diff)
downloadpsutil-ce750b541dd4195ad3fc2d7f788d05d5139223ee.tar.gz
add comment
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
-rw-r--r--psutil/_pslinux.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py
index af8ed1ac..ac0a64b6 100644
--- a/psutil/_pslinux.py
+++ b/psutil/_pslinux.py
@@ -1695,6 +1695,7 @@ class ContainerDetector(_VirtualizationBase):
return VIRTUALIZATION_CONTAINER_OTHER
def detect_openvz(self):
+ # Check for OpenVZ / Virtuozzo.
# /proc/vz exists in container and outside of the container,
# /proc/bc only outside of the container.
if os.path.exists("%s/vz" % self.procfs_path):