bug-gnulib
[Top][All Lists]
Advanced

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

Re: getloadavg on aix5


From: Peter O'Gorman
Subject: Re: getloadavg on aix5
Date: Mon, 7 Jan 2008 21:52:33 -0600
User-agent: Mutt/1.5.17 (2007-11-01)

I seem to have lost Jim's reply, but here is a patch. Works on
aix-4.3.3 and aix-5.3.

The SBITS thing is the way the libperstat.h header recommends
calculating the loadavg:

/* To calculate the load average, divide the numbers by (1<<SBITS). SBITS is 
defined in <sys/proc.h>. */

Of course, it is not defined on aix4.3.3 ...

Peter

Attachment: gnulib_aix_loadavg.diff
Description: Text document


reply via email to

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