Commit Graph

292 Commits

Author SHA1 Message Date
Jan Kneschke
15bfbfef0e (SIGAR-137) ensure net_interface_list names are null-byte terminated
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
2009-02-06 17:15:36 -08:00
Jan Kneschke
b48fd1e62f (SIGAR-136) plug memory leak in sigar_file_system_list_get
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
2009-02-06 17:15:36 -08:00
Doug MacEachern
5d50f402bb fix osx version on 64-bit platforms 2009-02-06 13:54:12 -08:00
Doug MacEachern
1ccf48ca19 [SIGAR-127] use KERN_ARGMAX for KERN_PROCARGS2 buffer size 2009-02-06 13:44:35 -08:00
Doug MacEachern
8e9ab74eee [SIGAR-125] bring back /private/var/vm swap impl for osx 10.3 2009-02-06 13:43:22 -08:00
Doug MacEachern
c2114a71e1 [SIGAR-123] do not include global shared text+data region size 2009-02-06 13:42:46 -08:00
Doug MacEachern
2b7a46de89 fix osx version on 64-bit platforms 2009-01-18 06:31:36 +00:00
Doug MacEachern
08ed781e71 start an autotools based build 2008-11-26 23:27:32 +00:00
Doug MacEachern
0d3be12ac6 [SIGAR-127] use KERN_ARGMAX for KERN_PROCARGS2 buffer size 2008-10-15 02:53:23 +00:00
Doug MacEachern
dd9dd214bd [SIGAR-125] bring back /private/var/vm swap impl for osx 10.3 2008-10-04 19:43:46 +00:00
Doug MacEachern
df18aa6bbb [SIGAR-123] do not include global shared text+data region size 2008-09-29 03:22:48 +00:00
Doug MacEachern
c54ad52a99 compile on FreeBSD 7 2008-09-06 18:22:19 +00:00
Doug MacEachern
b0fad8130c compile again on FreeBSD 4 2008-07-19 23:00:29 +00:00
Doug MacEachern
5da628b67b proper osx libproc.h location is /usr/include 2008-07-13 21:10:56 +00:00
Doug MacEachern
424effcad7 fix compile ifndef DARWIN_HAS_LIBPROC_H 2008-07-13 19:40:59 +00:00
Doug MacEachern
0a7f8a071f tcp.out_rsts is invalid 2008-07-13 03:44:08 +00:00
Doug MacEachern
51dd062f7e [SIGAR-106] rename cpu steal -> stolen 2008-05-28 18:14:00 +00:00
Doug MacEachern
9a1f45cd7b [SIGAR-106] Add cpu irq, soft_irq and steal 2008-05-24 15:12:06 +00:00
Doug MacEachern
23090b54b6 fix netbsd skipping inet6 2008-04-27 01:59:44 +00:00
Doug MacEachern
606a050e3a remove nlist check 2008-04-27 01:49:34 +00:00
Doug MacEachern
51b607866f add cpu_info.cores_per_socket 2008-04-11 17:46:36 +00:00
Doug MacEachern
b1d8e39106 fixup cpu vendor+model 2008-04-11 03:48:38 +00:00
Doug MacEachern
a7a7c13727 remove unread var 2008-04-11 03:35:37 +00:00
Doug MacEachern
a3364ec38d handle the case where VM guest may have 1 virtual ncpu on multicore hosts 2008-04-11 03:28:33 +00:00
Doug MacEachern
dffb588d0b cpu_core_count works w/ other bsds 2008-04-11 03:00:28 +00:00
Doug MacEachern
7bfcc25b6f netbsd cp_time always 64-bit 2008-04-11 02:45:55 +00:00
Doug MacEachern
2b9c8971e0 move cpuid from os/linux to sigar_util for use on other platforms 2008-04-09 06:29:08 +00:00
Doug MacEachern
0983884395 cpu_info cores+sockets 2008-04-09 05:14:10 +00:00
Doug MacEachern
3cf07fbb30 move sigar_dlinfo_modules to util for use with FreeBSD 2008-04-04 18:39:42 +00:00
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