Commit Graph

927 Commits

Author SHA1 Message Date
Doug MacEachern 9e699babc5 (SIGAR-164) return ENXIO instead of ENOENT in disk_usage aix impl 2009-07-18 18:43:28 -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 f2bc7f088d Merge branch 'sigar-1.6' 2009-07-13 17:57:54 -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 de915ae0d1 (SIGAR-130) Use pstat(PSTAT_GETCOMMANDLINE,...) on HP-UX < 11iv2 2009-07-08 17:55:54 -07:00
Doug MacEachern 4d0046fa25 (SIGAR-130) Use pstat_getcommandline on HP-UX 11iv2+ 2009-07-08 17:55:36 -07:00
Doug MacEachern 4bffa314d2 (SIGAR-131) switch to pst_fileinfo2 on all HPUX flavors 2009-07-08 17:55:16 -07:00
Doug MacEachern 9769d17c3d Merge branch 'sigar-1.6' 2009-07-03 15:50:17 -07:00
Doug MacEachern d048e0ccdc rid -Wall unused warning on *BSD 2009-07-03 15:50:00 -07:00
Doug MacEachern a19c5a3454 Merge branch 'sigar-1.6' 2009-07-02 13:58:29 -07:00
Doug MacEachern 8866170e52 fix lo net_interface_stat counters 2009-07-02 13:56:25 -07:00
Doug MacEachern bc492c8945 remove obsolete net_interface_stat lookup optimizations 2009-07-02 12:43:56 -07:00
Doug MacEachern 0e0d7ea1f7 (SIGAR-144) prefer 64-bit counter versions of rx/tx bytes + packets 2009-07-02 12:20:11 -07:00
Doug MacEachern b47f4b8b1b Merge branch 'sigar-1.6' 2009-07-01 16:28:03 -07:00
Doug MacEachern 2b0c7f8205 (SIGAR-148) use sigar_statvfs on HP-UX 2009-07-01 15:35:58 -07:00
Doug MacEachern a788e2b6e2 (SIGAR-148) use sigar_statvfs on AIX 2009-07-01 15:17:38 -07:00
Doug MacEachern 6a5b8c00de Merge branch 'sigar-1.6' 2009-07-01 15:06:35 -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 e81c50eeca Merge branch 'sigar-1.6' 2009-06-17 17:57:39 -07:00
Doug MacEachern af75428ab6 darwin sigar_dlinfo_modules impl 2009-06-17 17:57:28 -07:00
Doug MacEachern 715b32f1a6 Merge branch 'sigar-1.6' 2009-06-01 13:30:38 -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 099f021675 Merge branch 'sigar-1.6' 2009-05-24 18:19:15 -07:00
Doug MacEachern fb9a5f3357 (SIGAR-142) loosen net_interface_list filters 2009-05-24 18:09:32 -07:00
Doug MacEachern cb8eb6b183 Merge branch 'SIGAR-148' 2009-05-21 17:11:37 -07:00
Doug MacEachern 376409a403 (SIGAR-148) use sigar_statvfs 2009-05-21 14:26:34 -07:00
Doug MacEachern b53121d071 (SIGAR-148) use sigar_statvfs 2009-05-21 14:26:29 -07:00
Doug MacEachern f1e3a4c37c Merge branch 'sigar-1.6' of git@github.com:hyperic/sigar into sigar-1.6 2009-05-14 08:38:56 -07:00
Doug MacEachern d3ceb14ff7 Merge branch 'master' of git@github.com:hyperic/sigar 2009-05-14 08:37:50 -07:00
Doug MacEachern 9fec04ad66 fix so SigarPermissionDeniedException is throw on open /dev/kmem EACCES 2009-05-13 17:24:25 -07:00
Doug MacEachern 4c5873885e require libperfstat on aix 2009-05-13 17:23:49 -07:00
Doug MacEachern c43b43ae03 fix so SigarPermissionDeniedException is throw on open /dev/kmem EACCES 2009-05-13 16:56:08 -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 b9caed4157 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:07 -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 a95b8a8b60 (SIGAR-130) Use pstat(PSTAT_GETCOMMANDLINE,...) on HP-UX < 11iv2 2009-04-25 07:46:40 -07:00
Doug MacEachern 8e6a2179dd (SIGAR-39) Use kern.cp_times in cpu_list on FreeBSD 7.x+ 2009-04-20 18:39:36 -07:00
Doug MacEachern 2fc550c8fd (SIGAR-130) Use pstat_getcommandline on HP-UX 11iv2+ 2009-04-18 08:57:41 -07:00
Doug MacEachern 0996361ec6 (SIGAR-131) switch to pst_fileinfo2 on all HPUX flavors 2009-04-17 18:31:35 -07:00
Doug MacEachern 85838c3512 remove msvc_iptypes.h 2009-03-25 13:44:30 -07:00
Doug MacEachern 3025c4554f (SIGAR-139) support scripted SIGAR_PROC_NET for testing 2009-03-12 21:30:50 -07:00
Doug MacEachern 1ce9a3209d Merge branch 'master' of git@github.com:hyperic/sigar 2009-03-07 06:40:41 -08:00
Doug MacEachern 634cd53a79 6.1 == Windows 7 2009-03-07 06:40:23 -08:00
Doug MacEachern d34efe0474 10.6 == Snow Leopard 2009-03-07 06:37:36 -08:00
Doug MacEachern 9932201d2e require libperfstat on aix 2009-02-15 19:02:25 -08:00
Doug MacEachern bc3e8ed6d4 (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' 2009-02-10 13:52:03 -08:00
Doug MacEachern ae45e2c4f3 (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' 2009-02-10 13:50:08 -08:00
Doug MacEachern d573932902 Merge branch 'sigar-1.6-dos2unix' 2009-02-09 13:57:44 -08:00
Doug MacEachern 2e3c302f4f dos2unix 2009-02-09 13:28:00 -08:00
Doug MacEachern 22dec9316c Merge branch 'jk/pstat_getfile2' 2009-02-06 17:42:39 -08:00
Doug MacEachern 9774d05e20 Merge branch 'jk/pstat_getfile2' 2009-02-06 17:42:33 -08:00
Doug MacEachern 81a19487a9 Merge branch 'jk/pstat_getfile2' 2009-02-06 17:34:36 -08:00
Jan Kneschke 2d86ebadfb (SIGAR-131) use pstat_getfile2 in sigar_proc_fd_get on HP/UX 11iv2+
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
2009-02-06 17:31:47 -08:00
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 6db07f1cba [SIGAR-129] fix possible integer overflow in time_now_millis 2009-02-06 13:46:38 -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 4867aeb235 [SIGAR-126] /dev/kmem not usable in aix 6 2009-02-06 13:44:21 -08:00
Doug MacEachern d19ab5ae30 rid "warning: cast from pointer to integer of different size" on 64-bit builds 2009-02-06 13:43:37 -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 ec7d726a9d [SIGAR-122] ARG_MAX undefined on glibc 2.8 2009-02-06 13:42:16 -08:00
Doug MacEachern 2b7a46de89 fix osx version on 64-bit platforms 2009-01-18 06:31:36 +00:00
Doug MacEachern 48558541ad [SIGAR-129] fix possible integer overflow in time_now_millis 2008-12-20 16:09:49 +00:00
Doug MacEachern d716cef196 mv Makefile Makefile.nw 2008-11-26 23:27:53 +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 f7098e2c5b [SIGAR-126] /dev/kmem not usable in aix 6 2008-10-14 03:27:02 +00:00
Doug MacEachern d08a3cf189 rid "warning: cast from pointer to integer of different size" on 64-bit builds 2008-10-08 03:30:44 +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 062d08d9ce [SIGAR-122] ARG_MAX undefined on glibc 2.8 2008-09-27 15:59:39 +00:00
Doug MacEachern 5c905c8e64 [SIGAR-119] Use 64-bit performance counter for uptime 2008-09-08 23:15:56 +00:00
Doug MacEachern c54ad52a99 compile on FreeBSD 7 2008-09-06 18:22:19 +00:00
Doug MacEachern b151528a9e proc_fd not working on 5.2+ 2008-08-10 19:38:07 +00:00
Doug MacEachern 2330552825 init new cpu fields 2008-08-09 16:57:45 +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 2f65249d52 [SIGAR-115] fix proc_exe.name for self process 2008-07-12 16:10:32 +00:00
Doug MacEachern 35a3672c31 move FileTimeToTime from sigar_os.h to win32_sigar.c 2008-05-30 03:54:37 +00:00
Doug MacEachern 51dd062f7e [SIGAR-106] rename cpu steal -> stolen 2008-05-28 18:14:00 +00:00
Doug MacEachern 87b194fbb1 optimize cpu.vm kstat lookups 2008-05-28 06:04:58 +00:00
Doug MacEachern c0bd0b1830 add cpu.irq for windows 2008-05-25 01:45:02 +00:00
Doug MacEachern f03b59703e [SIGAR-107] Recognize vzfs as local filesystem type on Linux 2008-05-24 21:54:29 +00:00
Doug MacEachern 9a1f45cd7b [SIGAR-106] Add cpu irq, soft_irq and steal 2008-05-24 15:12:06 +00:00
Doug MacEachern ac0c681fb7 [SIGAR-102] check kernel version rather than /proc/diskstats to detect nptl 2008-05-16 02:37:21 +00:00
Doug MacEachern ab75320e8a [SIGAR-105] recognize vxfs as local filesystem type on all supported platforms 2008-05-16 00:33:50 +00:00
Doug MacEachern 4f4d950980 change description 2008-05-12 05:36:21 +00:00
Doug MacEachern a7d05604b8 add windows .res 2008-05-12 05:28:07 +00:00
Doug MacEachern 0fc5a067c8 [SIGAR-104] Add interface to WindowsGetFileVersionInfo function 2008-05-12 01:07:00 +00:00
Doug MacEachern 9e9b25bcd5 [SIGAR-103] Recognize jfs and psfs as local filesystem types 2008-05-10 03:04:59 +00:00
Doug MacEachern ec98ffbc5e mv HAS_NPTL define 2008-05-09 04:25:39 +00:00
Doug MacEachern ed23cc08e3 [SIGAR-102] do not attempt to filter LinuxThreads in 2.6+ kernels 2008-05-09 04:18:17 +00:00
Doug MacEachern 24c3a239ee [SIGAR-98] fix sigar_proc_env_peb_get not to ReadProcessMemory beyond RegionSize 2008-05-06 16:37:25 +00:00