Commit Graph

259 Commits

Author SHA1 Message Date
Doug MacEachern
46897838f6 (SIGAR-193) Migrate from mach/shared_memory_server.h to mach/shared_region.h on Darwin 2009-12-23 16:16:21 -08:00
Doug MacEachern
a4915e8ed6 (SIGAR-188) implement mem actual free/used on MacOSX 2009-11-03 14:18:54 -08:00
Doug MacEachern
089ba0d93c (SIGAR-188) implement mem actual free/used on FreeBSD 2009-11-02 16:45:11 -08:00
Doug MacEachern
d3e019dd98 (SIGAR-181) net_route.ifname impl for MacOSX and *BSD 2009-09-15 14:54:37 -07:00
Doug MacEachern
a08120c323 10.6 == Snow Leopard 2009-08-30 12:39:39 -07:00
Doug MacEachern
e3068f466a s/ift_name/ifr_name/g 2009-08-12 09:42:28 -07:00
Jan Kneschke
079dd9b09f (SIGAR-137) sdl_data isn't 0-terminated
fixed 2 more places where sdl_data is used as it would be 0-term'ed
  and doesn't honour sdl_nlen
2009-08-11 17:29:38 -07:00
Doug MacEachern
4a926f42d5 only exclude nfs/rpcv2.h on FreeBSD 8+ 2009-07-31 14:51:14 -07:00
Doug MacEachern
60182c3f82 net_route_list bandaid for FreeBSD 8.0 2009-07-30 17:46:27 -07:00
Doug MacEachern
1a00826ebb sigar_proc_port_get does not compile on FreeBSD 8.0 2009-07-30 17:18:32 -07:00
Doug MacEachern
07f9d49931 only need nfs/rpcv2.h on darwin 2009-07-30 17:13:17 -07:00
Doug MacEachern
4bd3ef75a9 (SIGAR-164) return ENXIO instead of ESRCH in disk_usage darwin impl 2009-07-18 18:43:04 -07:00
Doug MacEachern
5145e6b8c8 (SIGAR-155) Plug memory leak sigar_proc_exe_get Darwin impl 2009-07-13 17:57:28 -07:00
Doug MacEachern
d048e0ccdc rid -Wall unused warning on *BSD 2009-07-03 15:50:00 -07:00
Doug MacEachern
2b00bad1c1 move FreeBSD sigar_disk_usage_get related code where it belongs 2009-07-01 14:59:08 -07:00
Doug MacEachern
d3d35e937f (SIGAR-148) use sigar_statvfs 2009-07-01 14:29:20 -07:00
Doug MacEachern
af75428ab6 darwin sigar_dlinfo_modules impl 2009-06-17 17:57:28 -07:00
Doug MacEachern
bace63f710 untabify 2009-06-01 13:06:41 -07:00
Kay Röpke
91ba1a2c3d i'm stupid, =* is not going to compile at all. 2009-06-01 13:06:09 -07:00
Kay Röpke
596bc2a522 fix Darwin side of SIGAR-47: integer multlipcation overflow on 32bit builds with more than 4GB available memory 2009-06-01 13:05:58 -07:00
Doug MacEachern
fb9a5f3357 (SIGAR-142) loosen net_interface_list filters 2009-05-24 18:09:32 -07:00
Doug MacEachern
8c8d4cf814 getrusage on NetBSD may not return monotonically increasing values for CPU time.
See: http://archives.devshed.com/forums/bsd-93/kern-30115-getrusage-returns-bogus-ru-utime-values-220800.html
2009-04-25 09:52:51 -07:00
Doug MacEachern
039080f722 (SIGAR-39) Use kern.cp_times in cpu_list on FreeBSD 7.x+ 2009-04-25 08:55:21 -07:00
Doug MacEachern
22dec9316c Merge branch 'jk/pstat_getfile2' 2009-02-06 17:42:39 -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
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