OS => $ , is supposed to be $^O, in other words,
$<ctrl>O. I don't know why It doesn't show up,
there, but if you click the d/l code it should work.
What I did was right click d/l code, save it to disk,
then strip out the ^M's.
Well, I made sure to right-click and save the code that way (last time I had clicked the d/l link and pasted the code into emacs, which generally works) and despite removing the ^M's, no ^O appeared. So I added it in myself, but then when I tried running monitor, I had this problem:
If the Memory: line is different in your output, then the regex
that pulls the memory info won't place a value into totSwap. This
is because i'm using array subscripting to pull the values out of
the @memInfo array. Try changing $memInfo[?] to where the correct
swap values would be.