]> git.ipfire.org Git - thirdparty/coreutils.git/commit
[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
authorJim Meyering <jim@meyering.net>
Fri, 16 Nov 2001 09:20:25 +0000 (09:20 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Nov 2001 09:20:25 +0000 (09:20 +0000)
commite7d469d6633a5b0a49de8d2b0b6d6b229413a0ec
treeb93f96da04910462ad95e4d4000d1cd14befeb64
parent3fad422ee53de6bbb7912c68faaa9f7d03971119
[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
(physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to
determine the amount of total physical memory, use pstat_getstatic.
HPUX-11 doesn't define _SC_PHYS_PAGES.
(physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]:
If sysconf couldn't be used to determine the amount of available
physical memory, use both pstat_getstatic and pstat_getdynamic.
Based on a patch from Bob Proulx.
lib/physmem.c