Home
last modified time | relevance | path

Searched refs:kstat_read (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/dports/sysutils/monit/monit-5.29.0/src/process/
H A Dsysdep_SOLARIS.c120 if (kstat_read(kctl, kstat, 0) != -1) { in init_process_info_sysdep()
236 if (kstat_read(kctl, kstat, NULL) == -1) { in used_system_memory_sysdep()
257 if (kstat_read(kctl, kstat, 0) == -1) { in used_system_memory_sysdep()
266 if (kstat_read(kctl, kstat, 0) != -1) { in used_system_memory_sysdep()
336 if (kstat_read(kctl, kstat, 0) == -1) { in used_system_cpu_sysdep()
356 if (-1 == kstat_read(kctl, kstat, NULL)) { in used_system_cpu_sysdep()
369 if (-1 == kstat_read(kctl, cpu_ks[i], &cpu_stat[i])) { in used_system_cpu_sysdep()
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/hardware/sensors/
H A Dkstat_sensors.c45 if (( kp == 0 ) || (kstat_read( kc, kp, 0 ) == -1 )) { in netsnmp_sensor_arch_load()
70 if (( kp == 0 ) || (kstat_read( kc, kp, 0 ) == -1 )) { in netsnmp_sensor_arch_load()
94 if (( kp == 0 ) || (kstat_read( kc, kp, 0 ) == -1 )) { in netsnmp_sensor_arch_load()
/dports/sysutils/cfengine317/cfengine-3.17.0/cf-monitord/
H A Dmon_mem_solaris.c76 if (kstat_read(kstat, k, &sysinfo) == -1) in GetKstatInfo()
88 if (kstat_read(kstat, k, &vminfo) == -1) in GetKstatInfo()
/dports/sysutils/cfengine-devel/core-d08ae9eff/cf-monitord/
H A Dmon_mem_solaris.c76 if (kstat_read(kstat, k, &sysinfo) == -1) in GetKstatInfo()
88 if (kstat_read(kstat, k, &vminfo) == -1) in GetKstatInfo()
/dports/sysutils/cfengine318/cfengine-3.18.1/cf-monitord/
H A Dmon_mem_solaris.c76 if (kstat_read(kstat, k, &sysinfo) == -1) in GetKstatInfo()
88 if (kstat_read(kstat, k, &vminfo) == -1) in GetKstatInfo()
/dports/sysutils/cfengine316/cfengine-3.16.0/cf-monitord/
H A Dmon_mem_solaris.c76 if (kstat_read(kstat, k, &sysinfo) == -1) in GetKstatInfo()
88 if (kstat_read(kstat, k, &vminfo) == -1) in GetKstatInfo()
/dports/sysutils/cfengine/cfengine-3.19.0/cf-monitord/
H A Dmon_mem_solaris.c76 if (kstat_read(kstat, k, &sysinfo) == -1) in GetKstatInfo()
88 if (kstat_read(kstat, k, &vminfo) == -1) in GetKstatInfo()
/dports/sysutils/cfengine319/cfengine-3.19.0/cf-monitord/
H A Dmon_mem_solaris.c76 if (kstat_read(kstat, k, &sysinfo) == -1) in GetKstatInfo()
88 if (kstat_read(kstat, k, &vminfo) == -1) in GetKstatInfo()
/dports/sysutils/wmcpuload/wmcpuload-1.1.1/src/
H A Dcpu_solaris.c52 if (kstat_read(kc, ks, NULL) == -1) { in cpu_get_usage()
76 (void) kstat_read(kc, cpu_ks[i], &cpu_stat[i]); in cpu_get_usage()
/dports/devel/libgtop/libgtop-2.40.0/sysdeps/solaris/
H A Dmem.c81 if((ksp = server->machine->syspages) && kstat_read(kc, ksp, NULL) >= 0) in glibtop_get_mem_s()
102 if((ksp = server->machine->bunyip) && kstat_read(kc, ksp, NULL) >= 0) in glibtop_get_mem_s()
H A Dopen.c66 kstat_read(kc, ksp, &server->machine->vminfo); in glibtop_get_kstats()
155 kstat_read (server->machine->kc, ksp, &server->machine->vminfo); in glibtop_open_s()
184 if((ksp = server->machine->system) && kstat_read(kc, ksp, NULL) >= 0) in glibtop_open_s()
/dports/sysutils/gkrellm2/gkrellm-2.3.11/src/sysdeps/
H A Dsolaris.c111 if (kstat_read(kc, ksp, &cs) == -1) { in gkrellm_sys_cpu_read_data()
143 if (kstat_read(kc, ksp, NULL) != -1) { in gkrellm_sys_cpu_init()
190 if (ksp && kstat_read(kc, ksp, NULL) >= 0) { in gkrellm_sys_proc_read_data()
306 kstat_read(kc, ksp, &kios); in gkrellm_sys_disk_read_data()
715 kstat_read(kc, ksp, NULL); in gkrellm_sys_net_read_data()
864 if (ksp && kstat_read(kc, ksp, NULL) >= 0) { in gkrellm_sys_mem_read_data()
1040 if (ksp && kstat_read(kc, ksp, NULL) >= 0) { in gkrellm_sys_uptime_init()
/dports/shells/xonsh/xonsh-0.7.9/xonsh/xoreutils/
H A Duptime.py187 kstat.kstat_read.restype = ctypes.c_int
188 kstat.kstat_read.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
199 if ksp and kstat.kstat_read(kc, ksp, None) != -1:
/dports/sysutils/py-uptime/uptime-3.0.1/src/
H A D__init__.py263 kstat.kstat_read.restype = ctypes.c_int
264 kstat.kstat_read.argtypes = [ctypes.c_void_p,
280 if ksp and kstat.kstat_read(kc, ksp, None) != -1:
/dports/benchmarks/netperf/netperf-d566775bf/src/
H A Dnetcpu_kstat.c133 if (kstat_read(kc, ks, 0) == -1) { in open_kstat()
158 nkcid = kstat_read(kc, ks, NULL); in open_kstat()
203 nkcid = kstat_read(kc, cpu_ks[cpu], &cpu_stat);
/dports/net-mgmt/bwm-ng/bwm-ng-0.6/src/input/
H A Dlibkstat.c53 kstat_read(kc, ksp, NULL); in get_iface_stats_kstat()
70 kstat_read(kc, ksp, &kio); in get_iface_stats_kstat()
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix4-server/zabbix-4.0.30/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix4-proxy/zabbix-4.0.30/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()
/dports/net-mgmt/zabbix5-server/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/
H A Dcpu.c134 if (-1 == kstat_read(kc, ksp, NULL)) in get_kstat_system_misc()
267 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_SWITCHES()
309 if (0 == strncmp(k->ks_name, "cpu_stat", 8) && -1 != kstat_read(kc, k, NULL)) in SYSTEM_CPU_INTR()

12345678910>>...18