[Server-devel] logging performance

Martin Langhoff martin.langhoff at gmail.com
Wed Jul 15 19:37:59 EDT 2009


On Thu, Jul 16, 2009 at 7:23 AM, Sameer Verma<sverma at sfsu.edu> wrote:
> Any suggestions on how to log data on RAM and CPU usage on the XS? I've
> looked at mem.py and top variants, but I want something that logs at x
> intervals to a file that I can pull into a spreadsheet. I have munin running
> on the xs, but it is not fine-grained enough to show variations, say every
> 10 seconds or so.

Probably worth a small patch to ps_mem.py (which is more accurate
per-process than other methods) to make it run continuosly and give
you CSV output. Or a cron on ps_mem.py >> /var/log/mem.log

(I'd patch this myself now, but I'm about to hit the road, so packing.)



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list