diff --git a/master/buildbot/process/metrics.py b/master/buildbot/process/metrics.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/process/metrics.py
+++ b/master/buildbot/process/metrics.py
@@ -326,7 +326,7 @@ class AttachedWorkersWatcher:
 
 
 def _get_rss():
-    if sys.platform == 'linux2':
+    if sys.platform == 'linux':
         try:
             with open("/proc/%i/statm" % os.getpid()) as f:
                 return int(f.read().split()[1])
diff --git a/master/buildbot/test/unit/test_process_metrics.py b/master/buildbot/test/unit/test_process_metrics.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_process_metrics.py
+++ b/master/buildbot/test/unit/test_process_metrics.py
@@ -169,8 +169,8 @@ class TestPeriodicChecks(TestMetricBase):
 
     def testGetRSS(self):
         self.assertTrue(metrics._get_rss() > 0)
-    if sys.platform != 'linux2':
-        testGetRSS.skip = "only available on linux2 platforms"
+    if sys.platform != 'linux':
+        testGetRSS.skip = "only available on linux platforms"
 
 
 class TestReconfig(TestMetricBase):
Enable an incorrectly skipped test

Since Python <I>, sys.platform is 'linux' on Linux [1], so
TestPeriodicChecks.testGetRSS is skipped even on Linux.

[1] <URL>