On the linux side, the "vmstat" program may be a better choice than "top" (and its peers). "vmstat" only reports memory information and should not place a computational burden on the CPU the way "top" can. You can also access this information directly by reading the pseudo-file "/proc/vmstat".
in reply to Re: monitoring memory load
in thread monitoring memory load