-----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----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users