homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

Logging server load averages
script to log load

 8:17 am on Mar 26, 2009 (gmt 0)

Does anyone know of a way to log server load averages throughout the day - say every 15 minutes so I can see the load averages throughout the day.

A php script I could cron or server script/utility for this type of thing.



 8:37 pm on Mar 26, 2009 (gmt 0)

I expect there's 50 ways to do this, but something like
as a cron job would give you an outline I think.


 10:30 pm on Mar 26, 2009 (gmt 0)

Here's a sime crontab entry to do it:

0-59/15 * * * * logger `uptime`


 12:29 pm on Apr 6, 2009 (gmt 0)

if you want a bit more heart beat information like load, free memory, temperature, service availablity, connection status etc etc you may consider using the free zabbix.
I am using it and I am quite happy - tho it requires some linux experience to set it up

it supports a ton of sensors plus own triggers, error notification by mail and also shows nice graphs for people which prefer a graph over numbers :)

[edited by: bakedjake at 2:50 pm (utc) on April 8, 2009]
[edit reason] url drop [/edit]


 7:10 pm on Aug 3, 2009 (gmt 0)

Following on mfeldheim's response -- there are a number of good tools out there to facilitate logging/displaying/graphing load averages etc. They generally vary by the complexity and versatility -- ideally, chose one that isn't too much of a pain to get going, and which provides decent flexibility once configured. Some options:

Munin [munin.projects.linpro.no] -- very versatile.
Scout [scoutapp.com] -- very simple to get started with and configure.
Nagios [nagios.org] -- somewhat intimidating in its breadth, but very flexible.

All these use an open-source plugin model to monitor a variety of stats. My guess is that once you've got load averages logging working, there are other metrics you're going to want to see alongside it, like disk I/O CPU utilization.

[edited by: bakedjake at 5:51 pm (utc) on Aug. 5, 2009]
[edit reason] fixed url [/edit]


 4:10 pm on Aug 5, 2009 (gmt 0)

welcome to WebmasterWorld [webmasterworld.com], lewisac!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved