[Server-devel] logging performance

Dave Bauer dave.bauer at gmail.com
Thu Jul 16 07:21:24 EDT 2009


On Wed, Jul 15, 2009 at 3:23 PM, 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.
>
> Suggestions?

We are using SAR on jabber.sugarlabs.org http://linux.die.net/man/1/sar
I modied a cron job to log every minute, you can adjust as necessary.

It is in /etc/cron.d/sysstat
# Run system activity accounting tool every 10 minutes
*/1 * * * * root /usr/lib/sa/sa1 -d 1 1

Dave

> --
> Dr. Sameer Verma, Ph.D.
> Associate Professor of Information Systems
> San Francisco State University
> San Francisco CA 94132 USA
> http://verma.sfsu.edu/
> http://opensource.sfsu.edu/
>
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
Dave Bauer
dave at solutiongrove.com
http://www.solutiongrove.com


More information about the Server-devel mailing list