Вернуться   Forum 3Dnews Tech > Софт > Linux & FreeBSD
Вход через: 

Ответ Создать новую тему
 
Опции темы Опции просмотра
Старый 27.02.2010, 15:18   Вверх   #1
mitsumoto
Мужской Общительный
Автор темы
 
Регистрация: 17.10.2009
symon

Народ, если кто-то юзал symon (вот ссылка: http://www.xs4all.nl/~wpd/symon/documentation.html )
Помогите пожалуйста разобраться. По умолчанию он собирает статистику каждые 5 секунд, надо изменить интервал до 60 секунд.
в манах прописано следующее:

Код:
CONFIGURATION
     symon obtains configuration data from /etc/symon.conf.  The configuration
     file contains monitor stanzas that define what resources should be moni-
     tored and to which symux(8) the information should be streamed to.

     Multiple monitor statements to different muxes are allowed. Whitespace,
     newlines and text behind '#' are ignored. The format in BNF:

     monitor-rule = "monitor" "{" resources "}" [every]
                    "stream" ["from" host] ["to"] host [ port ]
     resources    = resource [ version ] ["(" argument ")"]
                    [ ","|" " resources ]
     resource     = "cpu" | "cpuiow" | "debug" | "df" | "if" | "io"
                    "mbuf" | "mem" | "pf" | "pfq" | "proc" |
                    "sensor" | "smart"
     version      = number
     argument     = number | name
     every        = "every" time
     time         = "second" | number "seconds"
     host         = ip4addr | ip6addr | hostname
     port         = [ "port" | "," ] portnumber

     Note that symux(8) data files default to receiving data every 5 seconds.
     Adjusting the monitoring interval will also require adjusting every
     symux(8) datafile.

     The pf probe will return data that is collected for the loginterface set
     in /etc/pf.conf(5).

Но как только я не пробовал так, и не получилось...Если кто-то знает покажите пример пожалуйста.
Вот мой конфиг:

Код:
monitor { if(rl0),
          cpu(0), mem } stream to 127.0.0.1 2100
mitsumoto вне форума  
Ответить с цитированием
Ответ Создать новую тему


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 04:27. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.4 Patch Level 5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot