BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Web Pages Created when System available
In <E487C0DE205E3145943194A360156EC0015E7ADC@bolbw04-bdc.bordersgroupinc.com> "Sunil Modi (IT)" <smodi@bordersgroupinc.com> writes:
>Is there any way to stop larrd graphs from being created if CPU gets
> too high? I was able to do it before BBGEN came into the picture,
> but now that it's here I need to recreate the error without
> larrd-html.pl.
It's a hack, but ...
the bbgen command is run from the $BBHOME/bin/bb-display.sh script.
In there, you could add a check for the load on your system just
before running the "bbgen" command - if it is above some threshold,
do a "touch $BBTMP/.larrd-gen" before running bbgen.
bbgen will check the timestamp of $BBTMP/.larrd-gen and use that to
determine if it is time to rebuild the larrd-pages. By touching the
file, you keep that event from triggering.
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index