The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Поиск:  Каталог документации

Next Previous Contents

7. Testing the program - monitor_test

From your browser save this file as text-file named as 'monitor_test'.

Use this program for testing the 'procautostart' program. For example -

        procautostart -n 12 -c "monitor_test -d $HOME  -a dummy_arg "

Here procautostart will be checking the process monitor_test every 12 seconds.


# Program to test the procautostart

echo "Started the monitor_test ...."
date > monitor_test.log
while :
        date >> monitor_test.log
        sleep 2

Next Previous Contents

Inferno Solutions
Hosting by

Закладки на сайте
Проследить за страницей
Created 1996-2021 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру