[rrd-users] Re: two sh scripts

Darryl Lewis Lewis.Darryl at abc.net.au
Fri Sep 8 08:33:42 MEST 2006


umm...it depends on how you wrote the scripts, but generally, they should be fine together unless you are overwriting the same temporary files.

At a guess , without seeing the scripts:
1. Your running them too frequently and the server is under too much load... use 'top' to see that, and if your scripts are hogging the CPU. 
2. The heart beat of the rrd is set incorrectly.

Post the scripts, your crontab entry and a capture from 'top' if you need more help.

kind regards
Darryl


-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of VladoPortos
Sent: Friday, 8 September 2006 4:25 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] two sh scripts


Hi i have kind of strange problem,

I made two shell scripts. One generate temperatures greped from sensors 
and second generate RAM usage greped from /proc/meminfo... bouth work 
fne when it runn solo....

But when i put them to cron, each is runned every 60 sec they seems to 
"fight" somethime they runn ok but somethime one script dont collect any 
data or bouth dont collect any data.... so result is grapf with holes...

If is only one script running it runn whole time without a problem...

Does anybody know why this happening ?

Thanks
Vladimir

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


==============================================================================
The information contained in this email and any attachment is confidential and
may contain legally privileged or copyright material.   It is intended only for
the use of the addressee(s).  If you are not the intended recipient of this
email, you are not permitted to disseminate, distribute or copy this email or
any attachments.  If you have received this message in error, please notify the
sender immediately and delete this email from your system.  The ABC does not
represent or warrant that this transmission is secure or virus free.   Before
opening any attachment you should check for viruses.  The ABC's liability is
limited to resupplying any email and attachments
==============================================================================

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list