Thursday, February 15, 2001, 3:44:49 PM, Konstantin N. Bezruchenko wrote:

> On Thu Feb 15, 2001 at 02:08:17PM +0200, Alexandr Belonogov wrote:
>>              ������, oops maillist !
>> ��� �� ���� �����, ������� ������� ��� Andy Igoshin <[EMAIL PROTECTED]>
>> ��������� ���� �� ������.
>> ����� ������������� � ������ �������� ����������. � ����������������
>> ��� ����� ��� �� �����. :-(
>> ������� �� �������� :-) � ���� oops ��������, �� ����� ��������� �����
>> ������ ��� �������� :-)

$ cat RunCache

#!/bin/sh

prefix=/usr/local/oops
logfile=${prefix}/logs/oops.out
PATH=${prefix}:/bin:/usr/bin; export PATH

ulimit -HS -n unlimited
ulimit -HS -d unlimited
ulimit -HS -s unlimited
ulimit -HS -c 10000000

echo $$ > /var/run/RunCache.pid
echo `date`: starting RunCache > $logfile

cd ${prefix}
while : ; do
        echo "-----------------------------------------------------" >> $logfile
        echo `date`: starting oops >> $logfile
        ${prefix}/oops -c oops.cfg >> $logfile 2>&1
        echo " " | mail -s " OOPS killed" root
        sleep 3
done

> � ����� ��� �����������?
> ��� ����� ���� SysV ����� ��������
> � ����� ������ �������� start/stop/restart ������ ��� oops
> ������� ����� ������ � /etc/rc.d/init.d/

> �� ����� �� ���?

����� - ������� ����, ���� �� ���������� ����.

--
Dimitry


=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://www.paco.net/oops/

Дати відповідь електронним листом