/dports/net-mgmt/xymon-server/xymon-4.3.30/xymond/client/ |
H A D | linux.c | 89 long memphystotal, memphysused, memphysfree, in handle_linux_client() local 93 …memphystotal = 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 D | freebsd.c | 40 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 D | irix.c | 74 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 D | solaris.c | 82 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 D | hpux.c | 78 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 D | netbsd.c | 73 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 D | openbsd.c | 75 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 D | sco_sv.c | 76 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 D | aix.c | 78 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 D | darwin.c | 91 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 D | bbwin.c | 477 long memphystotal, memphysused, in handle_win32_bbwin_client() local 481 … memphystotal = 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() 490 … memphystotal, memphysused, memacttotal, memactused, memswaptotal, memswapused); in handle_win32_bbwin_client()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/client/ |
H A D | linux.c | 89 long memphystotal, memphysused, memphysfree, in handle_linux_client() local 93 …memphystotal = 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 D | freebsd.c | 40 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 D | irix.c | 74 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 D | solaris.c | 82 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 D | aix.c | 78 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 D | hpux.c | 78 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 D | netbsd.c | 73 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 D | openbsd.c | 75 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 D | sco_sv.c | 76 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 D | darwin.c | 91 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 D | bbwin.c | 477 long memphystotal, memphysused, in handle_win32_bbwin_client() local 481 … memphystotal = 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() 490 … memphystotal, memphysused, memacttotal, memactused, memswaptotal, memswapused); in handle_win32_bbwin_client()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/xymond/ |
H A D | xymond_client.c | 913 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 D | xymond_client.c | 913 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()
|