screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load averages reported by screen on HP-UX 11.11


From: Micah Cowan
Subject: Re: Load averages reported by screen on HP-UX 11.11
Date: Thu, 02 Jul 2009 15:19:15 -0700
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Ackersviller wrote:
> I've recently started displaying load averages in screen's harstatus line,
> and notice something strange on one particular system.  The numbers are
> approximately four times the ones shown by the HP-UX uptime program.
> 
> Coincidentally, or perhaps not, the box has four CPUs.  Could it be that
> a division by cpu-count is being missed by screen on this OS?

On Unix systems I'm familiar with, the "uptime" command isn't _supposed_
to normalize for number of CPUs; at least, my uptime's manpage says:
"...so a load  average  of 1 means a single CPU system is loaded all the
time while on a 4 CPU system it means it was idle 75% of the time."

OTOH, screen appears to have seven different implementations for its
GetLoadav function; it's entirely possible the wrong one was chosen for
that build, or that the one that was chosen had some problems.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpNMmMACgkQ7M8hyUobTrHeVQCfcOkmfefxuek+oZ9NdtM4P5C7
y2MAn1K23MZ48Z9cY3S5tJ6BfWKwG4Pm
=aeQ5
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]