Commit Graph

263 Commits

Author SHA1 Message Date
Doug MacEachern
d826684c33 [SIGAR-92] Add memory free and used in percentage units 2008-04-03 04:45:28 +00:00
Doug MacEachern
13f57bf914 rid warnings on netbsd 2008-03-16 02:43:08 +00:00
Doug MacEachern
abbb5f0208 [SIGAR-36] implement MacOSX file_system.disk metrics 2008-03-16 01:55:51 +00:00
Doug MacEachern
3d33130db8 use sysctl proc_list on NetBSD 2008-03-10 03:01:40 +00:00
Doug MacEachern
e406af0b70 NetBSD proc_args 2008-03-10 03:00:18 +00:00
Doug MacEachern
02280ec3c1 fix NetBSD proc_mem 2008-03-10 02:22:22 +00:00
Doug MacEachern
e48a2b0ee0 NetBSD proc fixes 2008-03-09 16:55:26 +00:00
Doug MacEachern
d9e510494b start NetBSD port 2008-03-09 16:41:59 +00:00
Doug MacEachern
ede22e8b5c Fix nfsstats, somehow masked in previous builds by -g 2008-02-23 09:03:52 +00:00
Doug MacEachern
e08e3a8bcc [SIGAR-89] libproc.dylib does not exist on ppc 2008-02-23 08:18:12 +00:00
Doug MacEachern
4344a1457a proc_state SONPROC == R 2008-02-19 06:16:43 +00:00
Doug MacEachern
a941cdc3ba OpenBSD net_connection impl 2008-02-19 02:13:44 +00:00
Doug MacEachern
eccfefcb6b OpenBSD sigar_proc_args impl 2008-02-18 18:11:50 +00:00
Doug MacEachern
3bd2bd2c6d OpenBSD porting of sigar_proc_ functions 2008-02-18 01:42:52 +00:00
Doug MacEachern
4ef57c1ae0 OpenBSD sigar_cpu_get impl 2008-02-18 00:17:27 +00:00
Doug MacEachern
06059b41fe OpenBSD sigar_swap_get impl 2008-02-18 00:03:22 +00:00
Doug MacEachern
34c19b60b9 tweak for OpenBSD nfs stats 2008-02-17 23:50:36 +00:00
Doug MacEachern
aa4269f1a1 fix darwin compile 2008-02-17 23:12:47 +00:00
Doug MacEachern
58b2883205 OpenBSD 4.0 sigar_tcp_get impl 2008-02-17 23:10:56 +00:00
Doug MacEachern
66e6243591 no MNT_UNION on OpenBSD 2008-02-17 22:31:26 +00:00
Doug MacEachern
717c1df381 OpenBSD vmstat impl 2008-02-17 22:25:41 +00:00
Doug MacEachern
62436ae4a2 [SIGAR-86] Add options field to sigar_file_system_t 2008-02-11 05:07:35 +00:00
Doug MacEachern
68ae3137c1 [SIGAR-85] Fix possible integer overflow in sigar_file_system_usage 2008-02-01 05:08:38 +00:00
Doug MacEachern
89eb98a3f1 Fix unitialized proc_state.state when task_for_pid fails 2007-12-13 06:21:44 +00:00
Doug MacEachern
babdfafa52 [SIGAR-37] Use libproc when possible for proc_time 2007-12-13 06:18:53 +00:00
Doug MacEachern
3a299c0ae9 [SIGAR-37] Use libproc when possible for proc_mem 2007-12-13 06:03:08 +00:00
Doug MacEachern
139d5adfc1 add Info.plist 2007-12-13 05:47:38 +00:00
Doug MacEachern
4b712b5da0 move proc_fdinfo_get for re-use 2007-12-02 00:52:38 +00:00
Doug MacEachern
b12956364f [SIGAR-75] Implement sigar_proc_port_get for MacOSX 2007-12-01 23:34:02 +00:00
Doug MacEachern
8e121852bd Add net_connnection.uid 2007-12-01 20:26:36 +00:00
Doug MacEachern
8176b390fa fix compile 2007-11-07 06:52:23 +00:00
Doug MacEachern
77a9528f91 SIGAR_DISK_STATS_NOTIMPL -> SIGAR_DISK_STATS_INIT 2007-11-07 06:44:57 +00:00
Doug MacEachern
39446b928b [SIGAR-69] Fix osx process state 2007-10-20 14:55:19 +00:00
Doug MacEachern
4e124513d0 darwin disk_usage impl 2007-10-14 00:18:28 +00:00
Doug MacEachern
07e4db1d14 add sigar_disk_usage_get 2007-10-13 21:27:26 +00:00
Doug MacEachern
eec869f6d7 add tcp.in_errs 2007-08-08 06:11:20 +00:00
Doug MacEachern
bde8f07e8b s/nfsstat/nfs/g 2007-08-08 05:40:58 +00:00
Doug MacEachern
f8c583fbc8 remove _stat from sigar_tcp names 2007-08-08 05:34:21 +00:00
Doug MacEachern
7e0b4af3ca Remove useless tcpMaxConn 2007-08-08 05:05:16 +00:00
Doug MacEachern
de2177933a freebsd nfs stat adjustments 2007-08-05 03:09:11 +00:00
Doug MacEachern
42f26b5461 bsd-ish nfs metrics impl 2007-08-05 02:22:25 +00:00
Doug MacEachern
9d2b1db7fd use sysctl for darwin swap_get 2007-08-04 19:44:56 +00:00
Doug MacEachern
c8bbb6a75d use vmstat util for freebsd mem.free 2007-08-04 19:02:27 +00:00
Doug MacEachern
e35bc28775 fallback to vm.stats.vm for page_{in,out} 2007-08-04 18:56:41 +00:00
Doug MacEachern
28c04122c7 start freebsd swap.page_{in,out} impl 2007-08-04 18:39:49 +00:00
Doug MacEachern
93f4553c1e darwin swap.page_{in,out} impl 2007-08-04 18:06:16 +00:00
Doug MacEachern
ea1427b004 add vmstat util 2007-08-04 18:03:28 +00:00
Doug MacEachern
58b300996b [SIGAR-64] stub nfs functions 2007-07-26 06:30:29 +00:00
Doug MacEachern
ba1d44fe17 [SIGAR-62] stub swap.page_{in,out} 2007-07-20 18:02:21 +00:00
Doug MacEachern
baae33d8fa use tcp_stat_curr_estab 2007-07-14 22:52:12 +00:00
Doug MacEachern
b19b26392d darwin/bsd tcp_stat impl 2007-07-14 22:17:22 +00:00
Doug MacEachern
fe76b8fe7d stub tcp_stat function 2007-07-14 16:01:58 +00:00
Doug MacEachern
37d9c1af0c openbsd tweaks 2007-06-04 00:37:08 +00:00
Doug MacEachern
09c4138dbd make sigar_proc_args_get a wrapper 2007-04-22 05:37:39 +00:00
Doug MacEachern
ad433cf375 make sigar_proc_list_get a wrapper 2007-04-22 03:54:04 +00:00
Doug MacEachern
405e95e6bb move sigar_proc_stat_get to sigar.c 2007-04-14 21:25:20 +00:00
Doug MacEachern
1e922146a6 [SIGAR-47] Fix sigar_mem_get on 64-bit FreeBSD 2007-04-06 23:38:23 +00:00
Doug MacEachern
361624c484 filter out MNT_RDONLY mount from file_system_list 2007-04-06 17:41:05 +00:00
Doug MacEachern
8f393ee9cc properly handle ipv6 addresses in net_connection_get 2007-04-06 15:44:12 +00:00
Doug MacEachern
5ec635a1b4 change sigar_net_interface_config_get to return sigar_net_interface_config_primary_get if name == NULL 2007-04-05 15:41:43 +00:00
Doug MacEachern
b1a19f4e72 Implement proc_state_t.threads on OS X 2007-03-24 23:07:42 +00:00
Doug MacEachern
1c8433cd7d fix possible overflow 2007-02-05 20:21:53 +00:00
Doug MacEachern
6eb5f9db0b Add proper thread_cpu impl for OS X 2007-01-24 21:43:43 +00:00
Doug MacEachern
7fae53d95d [SIGAR-19] Change cpu time units to milliseconds 2006-12-04 18:30:37 +00:00
Doug MacEachern
b0a55983dc [SIGAR-19] change process cpu time units to milliseconds 2006-12-04 04:11:59 +00:00
Doug MacEachern
8a28fe5b51 [SIGAR-19] change process cpu time units to milliseconds 2006-12-04 03:54:29 +00:00
Doug MacEachern
59fddd3f7c change gestalt usage to work on versions < 10.4 2006-10-13 04:26:37 +00:00
Doug MacEachern
cd7231a938 use snprintf 2006-09-30 17:50:23 +00:00
Doug MacEachern
aa4af2806f fixup freebsd vendor_version and vendor_code_name 2006-09-30 17:27:10 +00:00
Doug MacEachern
66844ca1d8 use snprintf 2006-09-30 17:14:39 +00:00
Doug MacEachern
6b9e45eebb fillin freebsd sys_info fields 2006-09-30 17:13:10 +00:00
Doug MacEachern
852c61e493 use Gestalt for versions in sys_info 2006-09-26 13:32:45 +00:00
Doug MacEachern
84b8fff7b1 start port of OperatingSystem.java to sigar_sys_info C api 2006-09-24 18:23:04 +00:00
Doug MacEachern
d8159a6024 attempt to determine cwd from $PWD 2006-08-29 01:43:48 +00:00
Doug MacEachern
73aa5252e8 add/use kern_proc_args_skip_argv 2006-08-29 01:36:42 +00:00
Doug MacEachern
9263b6efcb change kern_proc_args to only copy exe if given a pointer 2006-08-29 00:29:41 +00:00
Doug MacEachern
94dd5f8280 implement proc_exe.name for darwin 2006-08-28 03:52:36 +00:00
Doug MacEachern
5f05b3383d sanity check 2006-08-25 21:06:18 +00:00
Doug MacEachern
883cfa1586 trim trailing whitespace in proc_args 2006-08-25 20:50:47 +00:00
Doug MacEachern
1301c11251 use local vars instead of kargs directly in proc_args 2006-08-25 20:26:12 +00:00
Doug MacEachern
457212edcb Implement proc_env for Darwin 2006-08-25 20:23:56 +00:00
Doug MacEachern
a0a31eb6e3 make reusable KERN_PROCARGS2 wrapper function 2006-08-25 20:08:17 +00:00
Doug MacEachern
e472dc9d9a add copyright 2006-07-15 17:46:36 +00:00
Doug MacEachern
1bd1cbd9f4 fix compile warning 2006-07-06 00:32:45 +00:00
Doug MacEachern
287af5e947 changing hwaddr to sigar_net_address_t 2006-07-05 21:12:10 +00:00
Doug MacEachern
a2597443b7 unhardcode cpu vendor 2006-07-05 19:20:12 +00:00
Doug MacEachern
a58b419690 zero ifconfig in net_interface_config_get 2006-07-05 18:10:51 +00:00
Doug MacEachern
28c7957ec7 convert net_route to use net_address_t 2006-07-04 19:30:04 +00:00
Doug MacEachern
972f3855dd convert net_interface_config to use sigar_net_address_t 2006-07-04 17:44:13 +00:00
Doug MacEachern
0638e38671 store net_connection addresses in binary rather than string 2006-07-04 16:44:44 +00:00
Doug MacEachern
13751fe221 all platforms use sigar.c:sigar_net_connection_list_get expect linux 2006-07-01 19:11:54 +00:00
Doug MacEachern
b1798c3e2f move generic sigar_net_connection_list_get impl to sigar.c 2006-07-01 16:47:47 +00:00
Doug MacEachern
bf6984b477 implement sigar_net_connection_walk 2006-07-01 16:41:14 +00:00
Doug MacEachern
475ddf2428 remove mem.shared 2006-07-01 02:47:09 +00:00
Doug MacEachern
8355e44d8c cast to prevent possible integer overflow in filesystem_usage 2006-05-31 00:59:14 +00:00
Doug MacEachern
cac8fa29a6 fix proc_args from breaking on zero-length arg 2006-04-23 16:01:08 +00:00
Doug MacEachern
0ea23da2ae change proc_args to break after len is consumed rather than *ptr == \0 2006-04-03 17:48:56 +00:00
Doug MacEachern
fae3648010 fix proc_args on FreeBSD 6.0 2006-04-03 17:27:06 +00:00
Doug MacEachern
4c4a13570b Remove Darwin proc_mem.shared impl 2006-03-16 18:36:07 +00:00
Doug MacEachern
335756bdb3 add net_interface_stat.speed 2006-03-07 01:26:27 +00:00