Commit Graph

1251 Commits

Author SHA1 Message Date
Doug MacEachern 891f30bf0d (SIGAR-140) interface aliases are valid in sigar_net_interface_config_primary_get 2009-03-25 11:18:04 -07:00
Doug MacEachern 63141c38b9 rid mac os 10.5 warning: utmp is deprecated 2009-03-14 12:37:29 -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 696f62a637 mv exp/ http://github.com/dougm/sigar-stuff 2009-02-15 07:01:17 -08:00
Doug MacEachern b64ebca57e s/SVN/SCM/ 2009-02-10 17:38:24 -08:00
Doug MacEachern f48e3f9c07 s/SVN/SCM/ 2009-02-10 17:37:51 -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 8edff557f0 Merge branch 'sigar-1.6'
Conflicts:

	bindings/java/version.properties
2009-02-08 18:15:26 -08:00
Doug MacEachern 93afe26132 (SIGAR-138) Recognize zfs as local filesystem type 2009-02-08 18:08:27 -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 bd2178d0cf [SIGAR-132] Fix possible memory leak in sigar_rpc_ping 2009-02-06 13:46:49 -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 ede7b6c9de [SIGAR-129] add another sanity check 2009-02-06 13:46:27 -08:00
Doug MacEachern bf61ce78a9 [SIGAR-129] prevent possible wrapping 2009-02-06 13:46:16 -08:00
Doug MacEachern 0175e969e1 [SIGAR-129] prevent possible integer overflow 2009-02-06 13:45:56 -08:00
Doug MacEachern 4c441a3ee2 revert r3669 - requires vc6sp5+vcpp5 on windows 2009-02-06 13:45:26 -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 bb5dc06cba [SIGAR-132] Fix possible memory leak in sigar_rpc_ping 2009-01-06 17:25:15 +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 901c6eeef4 [SIGAR-129] add another sanity check 2008-12-19 23:10:37 +00:00
Doug MacEachern 3c0541888f [SIGAR-129] prevent possible wrapping 2008-12-10 21:51:53 +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 ef907e95b6 [SIGAR-129] prevent possible integer overflow 2008-11-26 02:57:34 +00:00
Doug MacEachern c00dd5aec9 revert r3669 - requires vc6sp5+vcpp5 on windows 2008-11-25 22:46:58 +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 eeb3f26ad4 [SIGAR-121] Add Service.Pid PTQL support 2008-09-25 17:54:22 +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 0a1a1203f0 include archlib name in description 2008-08-12 01:25:59 +00:00
Doug MacEachern 836a725c86 add version description 2008-08-12 00:05:03 +00:00
Doug MacEachern b151528a9e proc_fd not working on 5.2+ 2008-08-10 19:38:07 +00:00
Doug MacEachern 34333d64e8 include svn revision in version properties 2008-08-10 18:59:53 +00:00
Doug MacEachern 2330552825 init new cpu fields 2008-08-09 16:57:45 +00:00
Doug MacEachern 8316f5e619 [SIGAR-117] fix Cpu.Percent ptql 2008-08-07 20:23:01 +00:00
Doug MacEachern 1a0db053ed [SIGAR-116] check return value from read() in sigar_file2str() 2008-08-05 23:49:58 +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 311714fcc3 fix dlinfo_modules return status 2008-07-12 15:46:53 +00:00
Doug MacEachern cb61c1eacd [SIGAR-114] set errno=0 before calling strto functions 2008-07-11 23:22:10 +00:00
Doug MacEachern aa33543b58 [SIGAR-114] set errno=0 before calling strto functions 2008-07-11 23:17:12 +00:00
Doug MacEachern 7d63d0f092 cpu rollup log noise reduction 2008-07-11 23:09:38 +00:00
Doug MacEachern 75f4843c1d optmize Port queries 2008-06-01 03:39:25 +00:00
Doug MacEachern af9b092b88 header for stat() 2008-05-31 16:30:08 +00:00
Doug MacEachern d785d747bc [SIGAR-111] Add sudo support for Pid.PidFile 2008-05-31 16:26:25 +00:00
Doug MacEachern ef1a02eb09 [SIGAR-108] AIX uses _LARGE_FILES 2008-05-30 17:24:45 +00:00
Doug MacEachern 6cdf6aea2c [SIGAR-108] windows lfs support 2008-05-30 16:16:03 +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 31dcf1bc48 --paren 2008-05-30 03:48:03 +00:00
Doug MacEachern e69ec3d904 [SIGAR-108] prune includes/define flags for LFS 2008-05-30 02:21:00 +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 e94969339f [SIGAR-71] default to listing cpu cores 2008-05-24 21:32:42 +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
Doug MacEachern 2423a9d47c [SIGAR-101] dont try using /usr/ucb/ps unless installed 2008-05-03 15:04:18 +00:00
Doug MacEachern 57bc553dbf [SIGAR-97] implement proc_exe 2008-04-30 03:26:47 +00:00
Doug MacEachern e3f6a1bbd7 fix hpux+aix compile 2008-04-29 05:57:12 +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 45c491e859 fixup disk.queue 2008-04-27 00:54:22 +00:00
Doug MacEachern d6a245fa0f [SIGAR-93] fix disk.queue 2008-04-26 23:29:22 +00:00
Doug MacEachern d895adc73e rename cpu_info -> info 2008-04-11 17:54:08 +00:00
Doug MacEachern 51b607866f add cpu_info.cores_per_socket 2008-04-11 17:46:36 +00:00
Doug MacEachern e4c00a7b92 fix cpu_info list size accounting 2008-04-11 17:25:11 +00:00
Doug MacEachern dd9575370a fix solaris compile 2008-04-11 05:13:18 +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 7ddee1ca1a cpuid works for any os w/ gcc + x86|x64 2008-04-11 02:58:44 +00:00
Doug MacEachern 7bfcc25b6f netbsd cp_time always 64-bit 2008-04-11 02:45:55 +00:00
Doug MacEachern ee5d7a6e9f fix sys_info.arch on x64 2008-04-10 21:03:07 +00:00
Doug MacEachern d5358ad0c7 fix cpu core logics 2008-04-10 20:51:23 +00:00
Doug MacEachern 5470d01a73 switch to using sigar_cpuid 2008-04-10 20:40:29 +00:00
Doug MacEachern aac5fcb703 windows cpuid x64 version 2008-04-10 18:39:22 +00:00
Doug MacEachern 7c61bc6695 windows version of sigar_cpuid 2008-04-10 17:40:27 +00:00
Doug MacEachern 5e4f8821cb fix compile 2008-04-10 17:38:18 +00:00
Doug MacEachern da647fe47e minor cpuid cleanup 2008-04-10 17:15:42 +00:00
Doug MacEachern 60e239f461 use standard iptypes.h in modern msvc 2008-04-09 23:29:46 +00:00
Doug MacEachern 0bf9cef2bd add/use MSC6 version macro 2008-04-09 20:58:35 +00:00
Doug MacEachern 552f0ede26 fix cpu_info cores+sockets 2008-04-09 07:18:38 +00:00
Doug MacEachern cb002c8541 windows cpu_info cores+sockets 2008-04-09 07:08:03 +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 277cf2e68e aix+hpux cpu_info sockets+cores 2008-04-09 05:21:46 +00:00
Doug MacEachern 0983884395 cpu_info cores+sockets 2008-04-09 05:14:10 +00:00
Doug MacEachern 56b8e9e6a3 solaris cpu socket+core counts 2008-04-09 05:08:52 +00:00
Doug MacEachern 187df2f462 add total_cores and total_sockets to sigar_cpu_info_t 2008-04-09 04:38:02 +00:00
Doug MacEachern 949147d4ba no longer need link.h 2008-04-09 03:35:47 +00:00
Doug MacEachern eee071783c refactor/simplify cpu core detection 2008-04-09 03:16:15 +00:00
Doug MacEachern f753b02aec rewind the Link_map to get all loaded modules 2008-04-04 18:53:44 +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 565c48cca3 fix windows compile 2008-04-03 04:58:39 +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 05ae74a5df require Service ptql in sigar_sevices_query 2008-04-01 23:18:55 +00:00
Doug MacEachern 5f0f5db9ed assume buffer contains copied path if path == NULL 2008-03-27 00:53:06 +00:00
Doug MacEachern 4edb1fbda8 use sigar_service_exe_get for Service.Exe 2008-03-27 00:09:26 +00:00
Doug MacEachern af661d2b7d add util to extract exe from QUERY_SERVICE_CONFIG.lpBinaryPathName 2008-03-27 00:08:29 +00:00
Doug MacEachern b83b819b00 add Service.Exe ptql support 2008-03-26 21:42:35 +00:00
Doug MacEachern 5df4850bf3 rename PTQL_PID_SERVICE -> PTQL_PID_SERVICE_NAME 2008-03-26 21:31:54 +00:00
Doug MacEachern 746b9bdddc use strcasestr 2008-03-26 21:29:43 +00:00
Doug MacEachern 208714be01 add strcasestr util 2008-03-26 21:29:17 +00:00
Doug MacEachern bf4507f341 add support for case-insensitive matches w/o re 2008-03-26 21:20:17 +00:00
Doug MacEachern 7a3b9a8fe6 add sigar_services_query function 2008-03-26 17:06:32 +00:00
Doug MacEachern 42459486f7 use callback in service query 2008-03-25 21:46:41 +00:00
Doug MacEachern 6d7b04b6e8 use time_now_millis 2008-03-16 19:31:00 +00:00
Doug MacEachern b37c690749 windows sigar_time_now_millis impl 2008-03-16 19:26:29 +00:00
Doug MacEachern 15f7996b8a add sigar_time_now_millis util 2008-03-16 19:19:35 +00:00
Doug MacEachern 13f57bf914 rid warnings on netbsd 2008-03-16 02:43:08 +00:00
Doug MacEachern 70bfdee076 use sigar_iodev_get 2008-03-16 02:21:46 +00:00
Doug MacEachern 26d071a6cb reusing SIGAR_NAME_IS_DEV macro 2008-03-16 02:21:25 +00:00
Doug MacEachern cf8308ad60 include sys/stat.h 2008-03-16 02:11:11 +00:00
Doug MacEachern abbb5f0208 [SIGAR-36] implement MacOSX file_system.disk metrics 2008-03-16 01:55:51 +00:00