🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #113379

Re: Anybody Know What's Wrong With Motz?

#113379
From: VanguardLH
Date: Thu, 09 Apr 2009 06:50
70 lines
5555 bytes
chuckcar wrote:

> VanguardLH <V@nguard.LH> wrote in news:grfpck$kd6$1@news.motzarella.org:
>> 
>> Okay, but the status chart still needs some explaining.  The first 2
>> rows contain (for when I checked):
>> 
>> Current system load               6.12  0.83 
>> Current number of NNTP processes   247    46 
>> 
>> So what do the 2 numbers mean?  Presumably those numbers are aggregates
>> across all servers (or to wherever all the ports connect).  But how
>> could the [total] system load be at two different values?  How could
>> there be two simultaneous values for the number of current connects?
>> 
> Not familiar with *nix are you? load average (the first number) is the
> number of processes actually *actually* running (that is doing something
> and using CPU power). The second number would be the number of users
> naturally. That's the first column. The second column would be the average
> over the last minute unless otherwise noted. cat /proc/loadavg gives 3
> numbers. explained below. You can Ignore everything up to and including
> the phrase "The fourth field". 
> 
> From man 5 proc:
> 
> /proc/loadavg
>               The first three fields in this file are load average figures
>               giving the number of jobs in the run queue (state R) or
>               waiting for disk I/O            (state D) averaged over 1,
>               5, and 15 minutes.  They are the same as the load average
>               numbers given by uptime(1) and other programs.  The fourth
>               field consists of two numbers separated by a slash (/).  The
>               first of these is the number of currently executing kernel
>               scheduling entities (processes, threads); this will be less
>               than or equal to the number of CPUs.  The value after the
>               slash is the number of kernel scheduling entities that
>               currently exist on the system.  The fifth field is the PID
>               of the process that was most recently created on the system.
> 
> The load average is commonly displayed in top - a *nix process display
> similar to windows task manager, but far better.

It's been too long since I had to do any Linux stuff.  Last was Redhat,
SuSE, and Solaris about 6 years ago.  And, no, I did not use the
specific utility that generated this output (because it wouldn't have
been of interest during testing since I get a suite of entire hosts for
testing).  I had to use awk, sed, korn/bash/sh scripting, top (but
probably not every switch to generate all possible output formats), and
so many commands that many have been forgotten by now, and I even got
screwed more than once on Solaris after deleting a file but the OS still
having an open handle on it that would cause script problems for setup
and cleanup after a test (the file would no longer show up in the 'ls'
output but it wasn't actually gone until the inode got released).
Considering how much there is to any *NIX (or even Windows) host, it is
poor practice to be distributing "information" without identifying what
it is that information.

That the output was generated on a *NIX host doesn't obviate the need
for Charting 101 basics requiring the labeling of rows AND columns, or
show the timezone.  Users shouldn't have to guess what are the axis of a
graph or what numbers represent in a table.  And remember without the
labeling that you are making a GUESS - perhaps a very good guess but a
guess nonetheless - as to what is represented in each column.  

If I threw at you the output of 'top' but without the header row but no
indication of what switches were used to select the output format and no
mention of which flavor of *NIX on which it was executed (Redhat, SuSE,
Solaris, SCO, HP-UX, AIX, or whatever), could you 100% identify what
each column represented?  And then add in a script that takes the stdout
of 'top' and it decides which columns to show in a table?
Technical Details
Message-ID: <grk5qc$eii$1@news.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.unit0.net!motzarella.org!feeder.motzarella.org!news.motzarella.org!not-for-mail
References: <49d9531e.47809500@news.qis.net> <e0pit41r05jcrglku4iaajpend9e86b5lm@4ax.com> <80zleugz45.fsf@banana.shacknet.nu> <grfpck$kd6$1@news.motzarella.org> <Xns9BE7ED101BFEEchucknilcar@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <grk5qc$eii$1@news.motzarella.org>
Subject: Re: Anybody Know What's Wrong With Motz?
Date: Thu, 9 Apr 2009 01:50:05 -0500
From: VanguardLH <V@nguard.LH>
References: <49d9531e.47809500@news.qis.net> <e0pit41r05jcrglku4iaajpend9e86b5lm@4ax.com> <80zleugz45.fsf@banana.shacknet.nu> <grfpck$kd6$1@news.motzarella.org> <Xns9BE7ED101BFEEchucknilcar@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.unit0.net!motzarella.org!feeder.motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: alt.free.newsservers
Organization: 0.35MOA sniper at loose in Usenet
Lines: 70
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX18LvlUDB+8RPP/Om4p2F1MZQPtYVFQgKE05M8Iim9IYLIY7A9AqpsS3TzNGWgkHAqbDuzGG9Q0sXSCzqFLwoTEkkB3OlXz9unaIdQiSTaTjSLjJAduwjtV5S7wALu4RxYmuM0zEzHWmFA==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Thu, 9 Apr 2009 06:49:48 +0000 (UTC)
Keywords: VanguardLH VLH811
X-Auth-Sender: U2FsdGVkX1/TJtQicsmK6dvWWNHxL2mgbeBXbG8aciGXuqiTRB599g==
Cancel-Lock: sha1:NVemMEKe5u+RMwnfJZMlVKX3aPc=
User-Agent: 40tude_Dialog/2.0.15.41
X-MOTD: It is wiser to remain silent and let others ponder your ignorance than
 to speak and remove all doubt