[Top][All Lists]

[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 (X11/20090608)

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:
" 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
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


reply via email to

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