summaryrefslogtreecommitdiff
path: root/lib/readutmp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-16 09:20:25 +0000
committerJim Meyering <jim@meyering.net>2001-11-16 09:20:25 +0000
commite7d469d6633a5b0a49de8d2b0b6d6b229413a0ec (patch)
treeb93f96da04910462ad95e4d4000d1cd14befeb64 /lib/readutmp.c
parent3fad422ee53de6bbb7912c68faaa9f7d03971119 (diff)
downloadcoreutils-e7d469d6633a5b0a49de8d2b0b6d6b229413a0ec.tar.xz
[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.
Diffstat (limited to 'lib/readutmp.c')
0 files changed, 0 insertions, 0 deletions