10 #ifdef HAVE_SYS_RESOURCE_H
11 # include <sys/resource.h>
13 # define setpriority(x,y,z)
24 #ifndef HAVE_GETHOSTNAME
25 # define gethostname(x,y)
29 # define GETPID (getpid())
35 #ifdef HAVE_SYS_SYSINFO_H
36 #include <sys/sysinfo.h>
43 return info.mem_unit*info.freeram;
57 struct mallinfo info = mallinfo();
58 return info.usmblks + info.uordblks;;
static long BCP_used_heap()
static long BCP_free_mem()