[FUG-BR] RES: bsdstats

Welkson Renny de Medeiros welkson em focusautomacao.com.br
Terça Julho 3 09:02:05 BRT 2007


Depois que inventei de mexer com qmail nunca mais recebi esses emails 
mensais... alguém sabe informar algum link para configurar isso?


-- 
Welkson Renny de Medeiros
Focus Automação Comercial
Desenvolvimento / Gerência de Redes
welkson em focusautomacao.com.br



                      Powered by ....

                                           (__)
                                        \\\'',)
                                          \/  \ ^
                                          .\._/_)

                                      www.FreeBSD.org

----- Original Message ----- 
From: "Giancarlo Rubio" <gianrubio em gmail.com>
To: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)" 
<freebsd em fug.com.br>
Sent: Tuesday, July 03, 2007 8:29 AM
Subject: Re: [FUG-BR] RES: bsdstats


Se vc estiver recebendo os mails do root diariamente, semanalmente e
mensalmente vc pode ver. Veja o meu  monthly run output (mensal)

Doing login accounting:
        total              250.83
        root               190.40
        giancarlo           54.93

Posting monthly OS statistics to rpt.bsdstats.org
Posting monthly device statistics to rpt.bsdstats.org
Posting monthly CPU statistics to rpt.bsdstats.org
Posting monthly ports statistics to rpt.bsdstats.org

-- End of monthly output --

Em 02/07/07, willian em radartelecom.com.br<willian em radartelecom.com.br> 
escreveu:
> galera como que sei que o meu servidor foi contabilizado instalei da
> seguinte forma criei o arquivo
>  vi /etc/periodic/monthly/300.statistics
> depois instalei via ports deu tudo certo inclusive no rc.conf
>
> bsdstats_enable="YES"
>
>
> > Welkson Renny de Medeiros wrote:
> >> Boa tarde Patrick!
> >>
> >> Link do meu post sobre essa diferença do make install para o 
> >> pkg_add -r:
> >> http://www.fug.com.br/historico/html/freebsd/2007-06/msg00885.html
> >>
> >> Posso ter analisado meio rápido e ter me enganado... mas pelo ports ele
> >> não
> >> inclui nada no rc.conf, e pelo pkg_add inclui o bsdstats_enable=YES
> >>
> >> Abraço,
> >
> > Entao, via ports tem a mensagem, que pode ser revista com ` pkg_info -D
> > bsdstats-5.3_4` e depois ele faz algumas perguntas interativamente:
> >
> > ********************
> > To enable monthly reporting, edit or create /etc/periodic.conf and add
> > this line:
> >          monthly_statistics_enable="YES"
> >
> > To enable boottime reporting, edit or create /etc/rc.conf and add this
> > line:
> >          bsdstats_enable="YES"
> >
> > To enable device reporting, add this line:
> >          monthly_statistics_report_devices="YES"
> >
> > To enable ports reporting, add this line:
> >          monthly_statistics_report_ports="YES"
> >
> > To run it manually the first time, just run it as:
> >          ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay
> >
> > To view current statistics, go to:
> >          http://www.bsdstats.org
> > ********************
> > Would you like to activate monthly reporting in /etc/periodic.conf [n]? 
> > y
> > Would you like to send a list of installed hardware as well [n]? y
> > Would you like to send a list of installed ports as well [n]? y
> > Would you like to run it now [y]? y
> > /usr/ports/sysutils/bsdstats/pkg-install:
> > /etc/periodic/monthly/300.statistics: not found
> > *** Error code 127
> >
> > Stop in /usr/ports/sysutils/bsdstats.
> >
> > Esse erro ta acontecendo sempre, via ports. Nao sei pq, ja ${LOCALBASE}
> > esta populada ok. Mas mesmo assim ele adiciona as entradas:
> >
> >
> > # tail -3 /etc/periodic.conf
> > monthly_statistics_enable="YES"
> > monthly_statistics_report_devices="YES"
> > monthly_statistics_report_ports="YES"
> >
> > # tail -1 /etc/rc.conf
> > bsdstats_enable="YES"
> >
> > Fora esse pequeno erro do ports, o resto depende de voce dar Y nas
> > perguntas interativas. Perguntas que o pkg nao faz. Confere?
> >
> > --
> > Patrick Tracanelli
> >
> > FreeBSD Brasil LTDA.
> > (31) 3281-9633 / 3281-3547
> > 316601 em sip.freebsdbrasil.com.br
> > http://www.freebsdbrasil.com.br
> > "Long live Hanin Elias, Kim Deal!"
> >
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
Giancarlo Rubio

"Linux is for people who hate Windows,
BSD is for people who love UNIX"
100% Rwindow$-Free
Freebsd-BR User #88
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd



Mais detalhes sobre a lista de discussão freebsd