Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory monitor motherboard music netgear network printer problem ram registry router server slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
MRTG stats updating

Reply  
Thread Tools
oskare100's Avatar
Junior Member with 11 posts.
 
Join Date: Sep 2007
15-Oct-2007, 04:15 AM #1
MRTG stats updating
Hello,
I have the following setup in cron for my MRTG stats:
0,10,20,30,40,50 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/bandwidth.cfg
0,11,21,31,41,51 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/cpu.cfg
0,12,22,32,42,52 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/cpu-temp.cfg
0,13,23,33,43,53 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/ping.cfg
0,15,25,35,45,55 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/memory.cfg
0,16,26,36,46,56 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/newconns.cfg
0,17,27,37,47,57 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/estabcons.cfg
0,18,28,38,48,58 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/ping2.cfg

But I'm not sure how much power it actually takes to generate theses MRTG stats... The server is a Celeron D 2.8Ghz, 512Mb ATA soft raid system. Do you think that I should update the stats less frequently to decrease the server usage?

/Oskar
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
15-Oct-2007, 10:00 AM #2
Hi oskare100,

In order to answer your question, you need to collect some information on your power consumption by conducting some experiments on your server using PowerTop here. Visit the Tips&Tricks webpage for more information that may be useful to you.

You will need a Linux kernel version 2.6.21 or later for to enable the tickless idle (NO_HZ) feature. If your kernel is not up to that level, you will need to upgrade it in order to use PowerTop.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:35 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.