> > > Hello,
> > >
> > > Everytime when I restart my DNews service,
> > > all the statistics will be reset to zero.
> > > e.g.
> > > status, stats_groups
> > >
> > > Is there any way to keep record of the statistics?
> >
> > No, however some similar information is available in log files.
> > What sort of figures do you actually want to be able to get?
> >
> >     ChrisP.
>
> Which log files are the informations available in?
>
> I want to resume informations such as "stats_groups" and "showusers"
> everytime after DNews is restarted.
>
> How can it be done?


Ok, add to dnews.conf
    loguse true
Then the daily log file u_yyyymmdd.log will contain the same information
as showusers, and can be summarized with the 'duse' utility.  It also
includes
some of the info that goes into stats_groups.

If you need the other stats_groups information then all I can suggest is
that you run
a cron job to record it using the command
    tellnews stats_groups >file.log


        ChrisP.




Reply via email to