Commit Graph

1376 Commits

Author SHA1 Message Date
Doug MacEachern e9fcf4b336 Merge branch 'sigar-1.6' 2009-09-10 21:44:26 -07:00
Doug MacEachern f5766d5593 rm obsolete build-cpu.bat 2009-09-10 21:44:10 -07:00
Doug MacEachern ac44312b5e remove msvc_iptypes.h 2009-09-10 21:42:55 -07:00
Doug MacEachern 1676d54123 Merge branch 'sigar-1.6' 2009-09-01 15:39:42 -07:00
Doug MacEachern fdc0cf5c1f add mapping from wmi HRESULT to NTRESULT 2009-09-01 15:39:33 -07:00
Doug MacEachern c6b35167c8 fix proc_exe fallback to wmi 2009-09-01 14:31:22 -07:00
Doug MacEachern c88b49abe2 (SIGAR-168) always fallback to wmi when peb fails for proc_args 2009-09-01 14:09:46 -07:00
Doug MacEachern 0b335d9025 6.1 == Windows 7 2009-08-30 12:40:54 -07:00
Doug MacEachern a08120c323 10.6 == Snow Leopard 2009-08-30 12:39:39 -07:00
Doug MacEachern bf1543877a Merge branch 'SIGAR-179' 2009-08-23 15:59:14 -07:00
Doug MacEachern e3b378ecd1 (SIGAR-179) Increase buffer size in cpu_list query from 16 to 128 2009-08-23 15:58:52 -07:00
Doug MacEachern 43b5297178 Merge commit 'weigon/autotools-and-unittest' 2009-08-18 21:19:52 -07:00
Doug MacEachern 75c2671110 ARPHRD_CISCO not in 2.2 kernel headers 2009-08-15 22:22:54 -07:00
Matthew Kent 7496b795e4 Merge branch 'master' into SIGAR-172 2009-08-13 23:41:53 -07:00
Matthew Kent 4fdcee3635 Tweaking based on feedback: default_interface gets a more appropriate name and
sigar_get_default_gateway now gathers both pieces of information.
2009-08-13 23:38:45 -07:00
Doug MacEachern ee15426546 need to use sysctlbyname with hw.cpufrequency_{min,max} 2009-08-13 15:45:03 -07:00
Doug MacEachern 326d6085a2 Merge commit 'mdkent/SIGAR-178' 2009-08-13 15:34:37 -07:00
Doug MacEachern bd93c22d14 Merge commit 'mdkent/SIGAR-174' 2009-08-13 14:51:51 -07:00
Doug MacEachern f69a3c10e5 Merge commit 'mdkent/SIGAR-173' 2009-08-13 14:34:41 -07:00
Matthew Kent dcddb5f642 Untested stab at cpu mhz min/max support for Darwin. 2009-08-12 23:43:41 -07:00
Matthew Kent 09f3418c1a Add linux collection of cpu min/max.
Make cpu mhz default the current mhz.
2009-08-12 23:43:35 -07:00
Jan Kneschke 99d73258a9 added a few more missing files 2009-08-12 21:25:58 +02:00
Doug MacEachern a77d7ef04f IFF_DYNAMIC not defined in linux 2.2 kernel 2009-08-12 10:07:08 -07:00
Doug MacEachern 6f75fc0668 Merge commit 'mdkent/SIGAR-171' 2009-08-12 09:57:00 -07:00
Doug MacEachern 1642acc6b0 Merge branch 'sigar-1.6' 2009-08-12 09:42: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
Matthew Kent ea3fcd5b45 Add more interface types from net-tools. 2009-08-10 00:29:23 -07:00
Matthew Kent 83996dda13 Add per interface support for tx_queue_len, Linux only.
Update the ifconfig example output.
2009-08-09 15:20:25 -07:00
Jan Kneschke d65177559d fixed the autotools setup
* fixed compile on all Unixes
  * added unit-tests
  * added cmake to build natively on win32
  * fixed the "make dist" setup to include all os-dirs
2009-08-09 15:35:24 +02:00
Matthew Kent d9f37b39a4 Collect the default interface as part of net_info_get. 2009-08-09 02:13:45 -07:00
Matthew Kent cfae297d9b Add IFF_DYNAMIC support for Linux.
Support in the ruby binding.
2009-08-08 14:44:58 -07:00
Doug MacEachern 7ccd02ef91 Merge branch 'sigar-1.6' 2009-08-05 17:12:48 -07:00
Doug MacEachern b05f332705 fix compile against visual studio 6 2009-08-05 16:56:37 -07:00
Doug MacEachern c310dffb84 try wmi if peb fails for proc_exe 2009-08-05 15:09:00 -07:00
Doug MacEachern 57b8fff72f add wmi proc_exe wrapper decl 2009-08-05 15:08:51 -07:00
Doug MacEachern 8c1608bb76 add wmi proc_exe wrapper 2009-08-05 15:08:43 -07:00
Doug MacEachern 2550c6373a try wmi if peb fails for proc_args 2009-08-05 14:30:16 -07:00
Doug MacEachern 7d236ebc39 add wmi proc_args wrapper decl 2009-08-05 14:29:44 -07:00
Doug MacEachern e5c1e8ac07 return ERROR_DATATYPE_MISMATCH if query does not get PebBaseAddress 2009-08-05 14:29:16 -07:00
Doug MacEachern 8dd2a25568 add wmi proc_args wrapper 2009-08-05 14:27:08 -07:00
Doug MacEachern 00a4ebf85e wmi com interface wrapper 2009-08-05 13:46:40 -07:00
Matthew Kent 4d19f54b94 Finish support for IFF_SLAVE and add IFF_MASTER.
Support both in ruby binding.
2009-08-04 22:27:13 -07:00
Doug MacEachern 48f9f8cc65 fix solaris 8 compile 2009-08-03 15:26:18 -07:00
Doug MacEachern dc8c9ce0f6 Merge branch 'sigar-1.6' 2009-07-31 14:51:30 -07:00
Doug MacEachern 4a926f42d5 only exclude nfs/rpcv2.h on FreeBSD 8+ 2009-07-31 14:51:14 -07:00
Doug MacEachern 2ee2b7a154 Merge branch 'sigar-1.6' 2009-07-30 17:48:18 -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
unknown ba22cc0531 net_interface ipv6 support requires msvc7 or higher 2009-07-30 10:32:42 -07:00
Doug MacEachern e2c74bb616 hpux net_interface_ipv6_config impl 2009-07-30 08:27:06 -07:00
Doug MacEachern e3e45a39fe hpux has inet_ntop 2009-07-30 08:26:34 -07:00
Doug MacEachern e92da5240f aix net_interface_ipv6_config impl 2009-07-29 21:37:31 -07:00
Doug MacEachern 75b83e6cf5 add sigar_net_scope_to_string 2009-07-29 16:07:09 -07:00
Doug MacEachern 10051fa8ff win32 net_interface_ipv6_config impl 2009-07-29 15:23:09 -07:00
Doug MacEachern f0b96796e1 win32 sigar_inet_ntop impl 2009-07-29 15:20:38 -07:00
Doug MacEachern 3f1b24b7fc solaris net_interface_ipv6_config impl 2009-07-29 15:14:38 -07:00
Doug MacEachern e90567d94b use new ipv6 macros 2009-07-29 15:14:11 -07:00
Doug MacEachern 0da8e9d95f prefix|scope .= 6 2009-07-25 08:09:53 -07:00
Doug MacEachern 8411da271e darwin/*bsd net_interface_ipv6_config impl 2009-07-25 08:00:24 -07:00
Doug MacEachern 7c5e4e3a3b linux net_interface_ipv6_config impl 2009-07-24 17:46:56 -07:00
Doug MacEachern 0e763c13e2 stub net_interface_config ipv6 support 2009-07-24 17:13:19 -07:00
Doug MacEachern 49e769bbd8 Merge branch 'sigar-1.6' 2009-07-18 18:44:26 -07:00
Doug MacEachern ceab542f7b (SIGAR-164) return ENXIO instead of ENOENT in disk_usage win32 impl 2009-07-18 18:43:54 -07:00
Doug MacEachern 90c2b19127 (SIGAR-164) return ENXIO instead of ENOENT in disk_usage linux impl 2009-07-18 18:43:39 -07:00
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 ba079dc3c5 Merge branch 'sigar-1.6' 2009-07-17 14:16:53 -07:00
Doug MacEachern 8cef393365 (SIGAR-163) Recognize cvfs (StorNext) as local filesystem type 2009-07-17 14:16:42 -07:00
Doug MacEachern 7535a0efc2 Merge branch 'sigar-1.6' 2009-07-16 07:10:13 -07:00
Doug MacEachern a3851c6b9a (SIGAR-162) plug possible memory leak in sigar_iodev_get util 2009-07-16 07:10: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 930de473be Merge branch 'sigar-1.6' 2009-07-07 15:31:07 -07:00
Doug MacEachern e9e3dce323 rid -Wall arpa/inet.h:89: warning on FreeBSD 2009-07-07 15:30:45 -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 14b916fdb6 Merge branch 'sigar-1.6' 2009-07-02 16:03:52 -07:00
Doug MacEachern 89b0b68ece (SIGAR-145) default to 'Irix mode' for proc_cpu.percent 2009-07-02 16:03:27 -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 0cecd10a4d Merge branch 'sigar-1.6' 2009-06-06 08:38:46 -07:00
Doug MacEachern b3abdd5a53 (SIGAR-151) Add Modules support to PTQL 2009-06-06 08:38:06 -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 c3feb6e8d7 fix compile on OpenBSD and older FreeBSD 2009-05-23 07:36:43 -07:00
Doug MacEachern a76768c30f rid -Wall statvfs warning on solaris 8 2009-05-23 07:36:33 -07:00
Doug MacEachern 64a6f41925 fix compile on OpenBSD and older FreeBSD 2009-05-22 12:05:52 -07:00
Doug MacEachern 26872fdda0 rid -Wall statvfs warning on solaris 8 2009-05-22 12:05:52 -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 94b3f884a2 (SIGAR-148) add generic sigar_statvfs built with LFS flags 2009-05-21 14:25:46 -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 6d6b5577b1 (SIGAR-140) interface aliases are valid in sigar_net_interface_config_primary_get 2009-03-25 11:19:56 -07:00
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