Article View: news.software.nntp
Article #69332Re: How can I find out how many users are connecting to my news server?
From: Jeffrey M. Vinocur
Date: Thu, 17 Jun 2004 00:50
Date: Thu, 17 Jun 2004 00:50
34 lines
2385 bytes
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
Technical Details
Message-ID:
<caqpt5$970$1@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!canoe.uoregon.edu!hammer.uoregon.edu!news.litech.org!not-for-mailReferences:
<56190db6.0406161204.8c2b088@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <caqpt5$970$1@puck.litech.org> Subject: Re: How can I find out how many users are connecting to my news server? Date: Thu, 17 Jun 2004 00:50:45 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <56190db6.0406161204.8c2b088@posting.google.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!canoe.uoregon.edu!hammer.uoregon.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 34 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1087433445 9440 66.218.0.75 (17 Jun 2004 00:50:45 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Thu, 17 Jun 2004 00:50:45 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)