Commit Graph

2950 Commits

Author SHA1 Message Date
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 085218e3fb add win32 comsupp and wbemuuid libs 2009-08-13 16:35:08 -07:00
Doug MacEachern 245e563857 .cpp -> .o 2009-08-13 16:34:11 -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
Jan Kneschke 8470738ff3 applied the configure-lua patch to the lua branch 2009-08-13 20:07:02 +02:00
Jan Kneschke 5d222575ef added lua bindings
added lua bindings for the majority of sigar functions
  look at sigar-test.lua on how to use it
2009-08-13 20:04:50 +02:00
Jan Kneschke b3bfe99aea removed the lua-binding part 2009-08-13 20:00:53 +02: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 5c8d1edbae add IFF_DYNAMIC to NetFlags 2009-08-12 10:13:13 -07:00
Doug MacEachern 22c1b065dd add IFF_MASTER to NetFlags 2009-08-12 10:11:36 -07: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
Jan Kneschke f88489dc73 added unit-tests
unit-tests for the majority of sigar functions including
  valgrind-leak-check
2009-08-09 15:34:27 +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 c007175b21 update .gitignore 2009-08-05 17:24:28 -07:00
Doug MacEachern c6e8679079 include src/os/*.cpp 2009-08-05 17:22:08 -07:00
Doug MacEachern 7ccd02ef91 Merge branch 'sigar-1.6' 2009-08-05 17:12:48 -07:00
Doug MacEachern 9149e907ef Merge branch 'SIGAR-168' into sigar-1.6 2009-08-05 17:12:26 -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 5fb1bcdb15 include src/os/*.cpp 2009-08-05 13:47:13 -07:00
Doug MacEachern 00a4ebf85e wmi com interface wrapper 2009-08-05 13:46:40 -07:00
Doug MacEachern c78c5fe899 Merge commit 'mdkent/SIGAR-170' 2009-08-05 06:57:22 -07:00
Matthew Kent 4e206baa61 Make ruby ifconfig example output a bit closer to net-tools default - only
showing interfaces that are up and suppressing the output of unconfigured ip
addresses.
2009-08-04 23:00:07 -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 0cc4f6e8bb fix ruby win32 compile 2009-08-03 10:12:03 -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 a355ba22c9 Merge branch 'SIGAR-161' into sigar-1.6 2009-07-30 17:48:08 -07:00
Doug MacEachern 60182c3f82 net_route_list bandaid for FreeBSD 8.0 2009-07-30 17:46:27 -07:00