🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Joseph McNealy Wed, 16 Jun 2004 20:04
How can I find out how many users are connecting to my news server?
#69338
Author: Joseph McNealy
Date: Wed, 16 Jun 2004 20:04
3 lines
1220 bytes
I need to know how many users are connected to my news (innd) server
at any given time, and how many are connected over a period of time
(say a week or more). Is there a way to do this? Thanks in advance.
Re: How can I find out how many users are connecting to my news server?
#69332
Author: Jeffrey M. Vinocur
Date: Thu, 17 Jun 2004 00:50
34 lines
2385 bytes
In article <56190db6.0406161204.8c2b088@posting.google.com>,
Joseph McNealy <jmcnealy@telepak.net> wrote:
>I need to know how many users are connected to my news (innd) server
>at any given time,

Well, each connection has a separate nnrpd process, so you can
examine your system's process listing to see how many user-type
connections there are at a given moment.  On my system, for
example:

  ~ > ps auxw | grep ^news | grep nnrpd
  news      8122  0.0  0.3  6344 1908 ?        SN   20:14   0:00 - nnrpd: puck.litech.org LIST
  news      9440  0.0  0.4  6740 2572 ?        SN   20:31   0:00 - nnrpd: puck.litech.org HEAD

there are two clients reading news.  Depending on your system,
you may also be able to see the connected hostname (as in the
output above).

So getting the number of connections is easy.  Getting the number
of hosts with at least one connection each is fairly easy.
Getting the number of individual users is difficult.


>and how many are connected over a period of time
>(say a week or more). 

For this, you would want to examine the connection logs.  You
could either process the raw logs, or process the output of the
news.daily nightly report.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: How can I find out how many users are connecting to my news server?
#69348
Author: Joseph McNealy
Date: Mon, 21 Jun 2004 04:01
32 lines
2508 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<caqpt5$970$1@puck.litech.org>...
> In article <56190db6.0406161204.8c2b088@posting.google.com>,
> Joseph McNealy <jmcnealy@telepak.net> wrote:
> >I need to know how many users are connected to my news (innd) server
> >at any given time,
> 
> Well, each connection has a separate nnrpd process, so you can
> examine your system's process listing to see how many user-type
> connections there are at a given moment.  On my system, for
> example:
> 
>   ~ > ps auxw | grep ^news | grep nnrpd
>   news      8122  0.0  0.3  6344 1908 ?        SN   20:14   0:00 - nnrpd: puck.litech.org LIST
>   news      9440  0.0  0.4  6740 2572 ?        SN   20:31   0:00 - nnrpd: puck.litech.org HEAD
> 
> there are two clients reading news.  Depending on your system,
> you may also be able to see the connected hostname (as in the
> output above).
> 
> So getting the number of connections is easy.  Getting the number
> of hosts with at least one connection each is fairly easy.
> Getting the number of individual users is difficult.
> 
> 
> >and how many are connected over a period of time
> >(say a week or more). 
> 
> For this, you would want to examine the connection logs.  You
> could either process the raw logs, or process the output of the
> news.daily nightly report.

Thanks for your help Jeffery.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads