jenkinsci/extras-memory-monitor — pull request #3 by javacruft (2012-02-21 11:47:08+00:00)
Title: Deal with formatting of top from procps >= 3.3

The current version of procps in Debian unstable formats its mem and swap lines differently to earlier versions.

The size metric is now at the start of the line rather than appended to the actual data.

I have tested this patch on Debian unstable (procps 3.3) and Ubuntu precise (3.2) and the test suite matchs and reports the correct values.