On Thu, Jul 16, 2009 at 7:23 AM, Sameer Verma<sve...@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.langh...@gmail.com
 mar...@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
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to