Home
last modified time | relevance | path

Searched refs:memphystotal (Results 1 – 24 of 24) sorted by relevance

/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/client/
H A Dlinux.c89 long memphystotal, memphysused, memphysfree, in handle_linux_client() local
93memphystotal = memswaptotal = memphysused = memswapused = memacttotal = memactused = memactfree = … in handle_linux_client()
99 if (p && (sscanf(p, "\nMem: %ld %ld %ld", &memphystotal, &memphysused, &memphysfree) == 3)) { in handle_linux_client()
100 memphystotal /= 1024; in handle_linux_client()
106 memacttotal = memphystotal; in handle_linux_client()
116 if (p && (sscanf(p, "\nMem: %ld %ld %ld %ld %ld %ld", &memphystotal, &memphysused, &memphysfree, in handle_linux_client()
118 memphystotal /= 1024; in handle_linux_client()
123 memacttotal = memphystotal; in handle_linux_client()
141 memphystotal, memphysused, in handle_linux_client()
H A Dfreebsd.c40 unsigned long memphystotal = 0, memphysfree = 0, memphysused = 0, memphysactual = -1; in handle_freebsd_client() local
83 p = strstr(meminfostr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_freebsd_client()
91 memphysused = memphystotal - memphysfree; in handle_freebsd_client()
97 memphysused = memphystotal - memphysfree; in handle_freebsd_client()
105 memphysused = memphystotal - memphysfree; in handle_freebsd_client()
132 memphystotal, memphysused, memphystotal, memphysactual, memswaptotal, memswapused); in handle_freebsd_client()
H A Dirix.c74 long memphystotal = -1, memphysused = -1, memphysfree = 0, in handle_irix_client() local
93 memphystotal = atol(w); in handle_irix_client()
98 memacttotal = memphystotal; in handle_irix_client()
99 memactused = memphystotal - memactfree; in handle_irix_client()
104 memphysused = memphystotal - memphysfree; in handle_irix_client()
120 memphystotal, memphysused, memacttotal, memactused, memswaptotal, memswapused); in handle_irix_client()
H A Dsolaris.c82 long memphystotal, memphysfree, memswapused, memswapfree; in handle_solaris_client() local
85 memphystotal = memphysfree = memswapfree = memswapused = -1; in handle_solaris_client()
87 if (p && (sscanf(p, "\nMemory size: %ld Megabytes", &memphystotal) == 1)) ; in handle_solaris_client()
139 if ((memphystotal>=0) && (memphysfree>=0) && (memswapused>=0) && (memswapfree>=0)) { in handle_solaris_client()
141 memphystotal, (memphystotal - memphysfree), in handle_solaris_client()
H A Dhpux.c78 unsigned long memphystotal, memphysfree, memphysused; in handle_hpux_client() local
82 memphystotal = memphysfree = memphysused = 0; in handle_hpux_client()
85 p = strstr(memorystr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_hpux_client()
87 memphysused = memphystotal - memphysfree; in handle_hpux_client()
96 memphystotal, memphysused, in handle_hpux_client()
H A Dnetbsd.c73 unsigned long memphystotal, memphysfree, memphysused; in handle_netbsd_client() local
77 memphystotal = memphysfree = memphysused = 0; in handle_netbsd_client()
80 p = strstr(meminfostr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_netbsd_client()
82 memphysused = memphystotal - memphysfree; in handle_netbsd_client()
89 memphystotal, memphysused, -1, -1, memswaptotal, memswapused); in handle_netbsd_client()
H A Dopenbsd.c75 unsigned long memphystotal, memphysfree, memphysused; in handle_openbsd_client() local
79 memphystotal = memphysfree = memphysused = 0; in handle_openbsd_client()
82 p = strstr(meminfostr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_openbsd_client()
84 memphysused = memphystotal - memphysfree; in handle_openbsd_client()
91 memphystotal, memphysused, in handle_openbsd_client()
H A Dsco_sv.c76 long memphystotal, memphysfree, memswaptotal, memswapfree; in handle_sco_sv_client() local
79 memphystotal = memphysfree = 0; in handle_sco_sv_client()
80 memphystotal = (atol(memsizestr) / 1048576); in handle_sco_sv_client()
106 memphystotal, (memphystotal - memphysfree), in handle_sco_sv_client()
H A Daix.c78 long memphystotal = 0, memphysfree = 0, memswaptotal = 0, memswappct = 0; in handle_aix_client() local
82 if (strncmp(realmemstr, "realmem ", 8) == 0) memphystotal = atol(realmemstr+8) / 1024L; in handle_aix_client()
90 memacttotal = memphystotal; in handle_aix_client()
93 memphystotal, (memphystotal - memphysfree), in handle_aix_client()
H A Ddarwin.c91 unsigned long memphystotal, memphysused; in handle_darwin_client() local
93 memphystotal = (pagesfree+pagesactive+pagesinactive+pageswireddown); in handle_darwin_client()
94 memphystotal = memphystotal * pgsize / 1024; in handle_darwin_client()
100 memphystotal, memphysused, in handle_darwin_client()
H A Dbbwin.c477 long memphystotal, memphysused, in handle_win32_bbwin_client() local
481memphystotal = memswaptotal = memphysused = memswapused = memactused = memacttotal = -1; in handle_win32_bbwin_client()
483 if (p) sscanf(p, "\nphysical: %ld %ld", &memphystotal, &memphysused); in handle_win32_bbwin_client()
488 …dbgprintf("DEBUG Memory %ld %ld %ld %ld %ld %ld\n", memphystotal, memphysused, memacttotal, memact… in handle_win32_bbwin_client()
490memphystotal, memphysused, memacttotal, memactused, memswaptotal, memswapused); in handle_win32_bbwin_client()
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/client/
H A Dlinux.c89 long memphystotal, memphysused, memphysfree, in handle_linux_client() local
93memphystotal = memswaptotal = memphysused = memswapused = memacttotal = memactused = memactfree = … in handle_linux_client()
99 if (p && (sscanf(p, "\nMem: %ld %ld %ld", &memphystotal, &memphysused, &memphysfree) == 3)) { in handle_linux_client()
100 memphystotal /= 1024; in handle_linux_client()
106 memacttotal = memphystotal; in handle_linux_client()
116 if (p && (sscanf(p, "\nMem: %ld %ld %ld %ld %ld %ld", &memphystotal, &memphysused, &memphysfree, in handle_linux_client()
118 memphystotal /= 1024; in handle_linux_client()
123 memacttotal = memphystotal; in handle_linux_client()
141 memphystotal, memphysused, in handle_linux_client()
H A Dfreebsd.c40 unsigned long memphystotal = 0, memphysfree = 0, memphysused = 0, memphysactual = -1; in handle_freebsd_client() local
83 p = strstr(meminfostr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_freebsd_client()
91 memphysused = memphystotal - memphysfree; in handle_freebsd_client()
97 memphysused = memphystotal - memphysfree; in handle_freebsd_client()
105 memphysused = memphystotal - memphysfree; in handle_freebsd_client()
132 memphystotal, memphysused, memphystotal, memphysactual, memswaptotal, memswapused); in handle_freebsd_client()
H A Dirix.c74 long memphystotal = -1, memphysused = -1, memphysfree = 0, in handle_irix_client() local
93 memphystotal = atol(w); in handle_irix_client()
98 memacttotal = memphystotal; in handle_irix_client()
99 memactused = memphystotal - memactfree; in handle_irix_client()
104 memphysused = memphystotal - memphysfree; in handle_irix_client()
120 memphystotal, memphysused, memacttotal, memactused, memswaptotal, memswapused); in handle_irix_client()
H A Dsolaris.c82 long memphystotal, memphysfree, memswapused, memswapfree; in handle_solaris_client() local
85 memphystotal = memphysfree = memswapfree = memswapused = -1; in handle_solaris_client()
87 if (p && (sscanf(p, "\nMemory size: %ld Megabytes", &memphystotal) == 1)) ; in handle_solaris_client()
139 if ((memphystotal>=0) && (memphysfree>=0) && (memswapused>=0) && (memswapfree>=0)) { in handle_solaris_client()
141 memphystotal, (memphystotal - memphysfree), in handle_solaris_client()
H A Daix.c78 long memphystotal = 0, memphysfree = 0, memswaptotal = 0, memswappct = 0; in handle_aix_client() local
82 if (strncmp(realmemstr, "realmem ", 8) == 0) memphystotal = atol(realmemstr+8) / 1024L; in handle_aix_client()
90 memacttotal = memphystotal; in handle_aix_client()
93 memphystotal, (memphystotal - memphysfree), in handle_aix_client()
H A Dhpux.c78 unsigned long memphystotal, memphysfree, memphysused; in handle_hpux_client() local
82 memphystotal = memphysfree = memphysused = 0; in handle_hpux_client()
85 p = strstr(memorystr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_hpux_client()
87 memphysused = memphystotal - memphysfree; in handle_hpux_client()
96 memphystotal, memphysused, in handle_hpux_client()
H A Dnetbsd.c73 unsigned long memphystotal, memphysfree, memphysused; in handle_netbsd_client() local
77 memphystotal = memphysfree = memphysused = 0; in handle_netbsd_client()
80 p = strstr(meminfostr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_netbsd_client()
82 memphysused = memphystotal - memphysfree; in handle_netbsd_client()
89 memphystotal, memphysused, -1, -1, memswaptotal, memswapused); in handle_netbsd_client()
H A Dopenbsd.c75 unsigned long memphystotal, memphysfree, memphysused; in handle_openbsd_client() local
79 memphystotal = memphysfree = memphysused = 0; in handle_openbsd_client()
82 p = strstr(meminfostr, "Total:"); if (p) { memphystotal = atol(p+6); found++; } in handle_openbsd_client()
84 memphysused = memphystotal - memphysfree; in handle_openbsd_client()
91 memphystotal, memphysused, in handle_openbsd_client()
H A Dsco_sv.c76 long memphystotal, memphysfree, memswaptotal, memswapfree; in handle_sco_sv_client() local
79 memphystotal = memphysfree = 0; in handle_sco_sv_client()
80 memphystotal = (atol(memsizestr) / 1048576); in handle_sco_sv_client()
106 memphystotal, (memphystotal - memphysfree), in handle_sco_sv_client()
H A Ddarwin.c91 unsigned long memphystotal, memphysused; in handle_darwin_client() local
93 memphystotal = (pagesfree+pagesactive+pagesinactive+pageswireddown); in handle_darwin_client()
94 memphystotal = memphystotal * pgsize / 1024; in handle_darwin_client()
100 memphystotal, memphysused, in handle_darwin_client()
H A Dbbwin.c477 long memphystotal, memphysused, in handle_win32_bbwin_client() local
481memphystotal = memswaptotal = memphysused = memswapused = memactused = memacttotal = -1; in handle_win32_bbwin_client()
483 if (p) sscanf(p, "\nphysical: %ld %ld", &memphystotal, &memphysused); in handle_win32_bbwin_client()
488 …dbgprintf("DEBUG Memory %ld %ld %ld %ld %ld %ld\n", memphystotal, memphysused, memacttotal, memact… in handle_win32_bbwin_client()
490memphystotal, memphysused, memacttotal, memactused, memswaptotal, memswapused); in handle_win32_bbwin_client()
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/
H A Dxymond_client.c913 long memphystotal, long memphysused, in unix_memory_report() argument
927 if (memphystotal == -1) return; in unix_memory_report()
932 memphyspct = (memphystotal > 0) ? ((100 * memphysused) / memphystotal) : 0; in unix_memory_report()
959 if ((memphystotal == 0) && (memorycolor == COL_GREEN)) { in unix_memory_report()
979 colorname(physcolor), "Real/Physical", memphysused, memphystotal, memphyspct); in unix_memory_report()
/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/
H A Dxymond_client.c913 long memphystotal, long memphysused, in unix_memory_report() argument
927 if (memphystotal == -1) return; in unix_memory_report()
932 memphyspct = (memphystotal > 0) ? ((100 * memphysused) / memphystotal) : 0; in unix_memory_report()
959 if ((memphystotal == 0) && (memorycolor == COL_GREEN)) { in unix_memory_report()
979 colorname(physcolor), "Real/Physical", memphysused, memphystotal, memphyspct); in unix_memory_report()