Article View: news.software.nntp
Article #6672nnrpd response time stats checker?
From: Karl F. Sierka
Date: Wed, 17 Apr 1996 00:00
Date: Wed, 17 Apr 1996 00:00
38 lines
1950 bytes
1950 bytes
Has anyone written anything to check nnrpd response times all day,
everyday, and make a weekly summary? I would like to see how various news
servers, memory, disk, I/O subsystems and kernel configs can affect user
perceptions of news reader performance. I need something that will run out of
cron, poke some typical reader commands at the server machine, generate some
stats, and then summarize weekly, so that we can see when our news server
needs to be made to go faster. An expect script would work well for this.
If you have something that does any part of this, and are willing to
share it, please let me know.
Thanks in advance.
BTW: I have a program called partpig that can be used to find and remove large
files from the news spool. It allows you to say something like this...
partpig /var/spool/news/alt/binaries 400 | awk '{print $2}' | xargs -t rm
and remove the top 400 files (sorted by size) on the binaries partition.
It has saved me from several close calls on Friday nights... :-)
If you think of it before hand, it would be better to keep a
newsfeed entry that remembers the file names and sizes as they come in, and
then just sort that to remove the big files. It should be rotated as often
as needed to keep too many expired articles out of it.
Karl Sierka
http://amaze.labyrinth.com
--
Karl F. Sierka
Labyrinth Computer Services
PO 4626
Boulder, Colorado 80306
Technical Details
Message-ID:
<x73f62n3i7.fsf@amaze.labyrinth.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.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <x73f62n3i7.fsf@amaze.labyrinth.com> Subject: nnrpd response time stats checker? Date: Wed, 17 Apr 1996 00:00:00 +0000 From: karl@amaze.labyrinth.com (Karl F. Sierka) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 148011882 Organization: Labyrinth Computer Services Newsgroups: news.software.nntp