Commit Graph

269 Commits

Author SHA1 Message Date
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
unknown
ba22cc0531 net_interface ipv6 support requires msvc7 or higher 2009-07-30 10:32:42 -07:00
Doug MacEachern
10051fa8ff win32 net_interface_ipv6_config impl 2009-07-29 15:23:09 -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
85838c3512 remove msvc_iptypes.h 2009-03-25 13:44:30 -07:00
Doug MacEachern
634cd53a79 6.1 == Windows 7 2009-03-07 06:40:23 -08:00
Doug MacEachern
2e3c302f4f dos2unix 2009-02-09 13:28:00 -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
5c905c8e64 [SIGAR-119] Use 64-bit performance counter for uptime 2008-09-08 23:15:56 +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
c0bd0b1830 add cpu.irq for windows 2008-05-25 01:45:02 +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
24c3a239ee [SIGAR-98] fix sigar_proc_env_peb_get not to ReadProcessMemory beyond RegionSize 2008-05-06 16:37:25 +00:00
Doug MacEachern
51b607866f add cpu_info.cores_per_socket 2008-04-11 17:46:36 +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
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
5e4f8821cb fix compile 2008-04-10 17:38:18 +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
d826684c33 [SIGAR-92] Add memory free and used in percentage units 2008-04-03 04:45:28 +00:00
Doug MacEachern
5f0f5db9ed assume buffer contains copied path if path == NULL 2008-03-27 00:53:06 +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
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
b37c690749 windows sigar_time_now_millis impl 2008-03-16 19:26:29 +00:00
Doug MacEachern
ee41ce16d2 fixup prototypes/linkage 2008-03-07 18:01:00 +00:00
Doug MacEachern
bddc08778b add EnumServicesStatus wrapper 2008-03-07 02:26:41 +00:00
Doug MacEachern
be04158e4f [SIGAR-86] Add options field to sigar_file_system_t 2008-02-11 05:48:05 +00:00
Doug MacEachern
33f69554ad [SIGAR-86] Add options field to sigar_file_system_t 2008-02-11 04:11:45 +00:00
Doug MacEachern
936a8a79c5 [SIGAR-84] Prevent crash when perf counters are disabled 2008-01-22 22:37:07 +00:00
Doug MacEachern
9ff8308a35 Change sys_info to distinguish between Vista and 2008 server 2007-12-19 01:03:51 +00:00
Doug MacEachern
f448bae54e Fix a few more where we need to specify number of TCHARs rather than sizeof buffer 2007-11-15 21:48:24 +00:00
Doug MacEachern
77a9528f91 SIGAR_DISK_STATS_NOTIMPL -> SIGAR_DISK_STATS_INIT 2007-11-07 06:44:57 +00:00
Doug MacEachern
3c5e67a908 re-org sigar_disk_usage_t struct 2007-10-13 22:13:04 +00:00
Doug MacEachern
07e4db1d14 add sigar_disk_usage_get 2007-10-13 21:27:26 +00:00
Doug MacEachern
e2fdcb794c use sigar_disk_usage_t 2007-10-10 17:10:23 +00:00
Doug MacEachern
a3f20bd030 doc disk counter names 2007-10-10 16:53:11 +00:00
Doug MacEachern
97856b57fd fix disk queue counter 2007-10-10 16:49:24 +00:00
Doug MacEachern
fefc5497e2 add disk times 2007-10-10 16:47:39 +00:00
Doug MacEachern
0df96d5eca increase process visibility 2007-08-21 20:51:46 +00:00
Doug MacEachern
ec3565b725 increase buffer size 2007-08-21 05:43:10 +00:00
Doug MacEachern
f314a01aa4 [SIGAR-67] Change windows proc_exe impl to use PEB 2007-08-21 05:22:01 +00:00
Doug MacEachern
3f79564ffd [SIGAR-66] refactor proc_{exe,args} PEB related code 2007-08-18 19:02:38 +00:00
Doug MacEachern
eec869f6d7 add tcp.in_errs 2007-08-08 06:11:20 +00:00
Doug MacEachern
bde8f07e8b s/nfsstat/nfs/g 2007-08-08 05:40:58 +00:00
Doug MacEachern
f8c583fbc8 remove _stat from sigar_tcp names 2007-08-08 05:34:21 +00:00
Doug MacEachern
7e0b4af3ca Remove useless tcpMaxConn 2007-08-08 05:05:16 +00:00
Doug MacEachern
02ab6d8730 swap.page_{in,out} windows impl 2007-08-03 14:54:22 +00:00
Doug MacEachern
58b300996b [SIGAR-64] stub nfs functions 2007-07-26 06:30:29 +00:00
Doug MacEachern
ba1d44fe17 [SIGAR-62] stub swap.page_{in,out} 2007-07-20 18:02:21 +00:00
Doug MacEachern
c61e7a78b6 windows tcp_stat impl 2007-07-14 17:38:14 +00:00
Doug MacEachern
fe76b8fe7d stub tcp_stat function 2007-07-14 16:01:58 +00:00
Doug MacEachern
199eb74ac1 [SIGAR-60] Add multi-core AMD Opteron detection 2007-06-28 23:54:06 +00:00
Doug MacEachern
3e064dfeb7 rid warnings from modern MSVC 2007-06-27 01:10:12 +00:00
Doug MacEachern
09c4138dbd make sigar_proc_args_get a wrapper 2007-04-22 05:37:39 +00:00
Doug MacEachern
ad433cf375 make sigar_proc_list_get a wrapper 2007-04-22 03:54:04 +00:00
Doug MacEachern
405e95e6bb move sigar_proc_stat_get to sigar.c 2007-04-14 21:25:20 +00:00
Doug MacEachern
5ec635a1b4 change sigar_net_interface_config_get to return sigar_net_interface_config_primary_get if name == NULL 2007-04-05 15:41:43 +00:00
Doug MacEachern
171f2e021e no need to FreeLibrary handle returned by GetModuleHandle 2007-03-08 01:59:08 +00:00
Doug MacEachern
1affc51534 Plug various handle+mem leaks on win32
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-03-07 23:24:41 +00:00
Doug MacEachern
795db98647 refactor for Pid.Service ptql 2007-03-07 06:51:18 +00:00
Doug MacEachern
d459b79bdd fixup procexe.name on non-english windows 2007-03-06 03:39:29 +00:00
Doug MacEachern
85a5f105e4 [SIGAR-40] Change win32 file_system_list to ignore removable disks 2007-02-02 19:11:47 +00:00
Doug MacEachern
db6cc45f1c [SIGAR-38] Change win32 swap_get to use GlobalMemoryStatusEx 2007-01-29 23:30:39 +00:00
Doug MacEachern
4b98533cba [SIGAR-19] Change cpu time units to milliseconds 2006-12-04 18:24:53 +00:00
Doug MacEachern
91b6685487 [SIGAR-19] change process cpu time units to milliseconds 2006-12-04 03:50:07 +00:00
Doug MacEachern
90b801f045 add GetAdaptersAddresses wrapper 2006-11-05 22:41:11 +00:00
Doug MacEachern
0e277dd5d6 fix broadcast flag check 2006-11-05 20:21:29 +00:00
Doug MacEachern
a73e93ae91 dwBCastAddr is a flag, not an address 2006-11-05 20:18:11 +00:00
Doug MacEachern
fc9fdb3941 fix compile w/ modern msvc 2006-11-05 20:10:52 +00:00
Doug MacEachern
0bcc6f416e use copy of iptypes.h from vc7 2006-11-05 20:08:23 +00:00
Doug MacEachern
dc33d0f571 use GetNumberOfInterfaces for netif related cache sizes 2006-11-05 19:57:51 +00:00
Doug MacEachern
26479b421a fix broadcast address 2006-11-05 05:10:33 +00:00
Doug MacEachern
e8302a72f3 net_interface_config does not have to bail w/o ip address 2006-11-05 03:17:58 +00:00
Doug MacEachern
72dcec2dde only return loopback and ethernet types in net_interface_list 2006-11-05 02:41:48 +00:00
Doug MacEachern
c77dd61985 use IpAddrTable instead of ApdapterInfo for net_interface_config 2006-11-05 02:26:03 +00:00
Doug MacEachern
6c21782915 add GetIpAddrTable wrapper 2006-11-05 01:36:40 +00:00
Doug MacEachern
d6eb75c282 use return code instead of GetLastError() 2006-11-03 22:52:18 +00:00
Doug MacEachern
207aa97870 avoid inet_addr calls for the loopback 2006-11-03 22:31:04 +00:00
Doug MacEachern
446d9a89f5 set multicast for eth interfaces 2006-11-03 22:13:15 +00:00
Doug MacEachern
ebbabad7fb set net_interface_config.broadcast 2006-11-03 22:07:36 +00:00
Doug MacEachern
ef0752391c make sure primary ip is used for net_interface_config 2006-11-03 19:28:51 +00:00
Doug MacEachern
64be681de6 [SIGAR-24] Flag 'Microsoft Loopback Adapter' as LOOPBACK 2006-11-03 19:04:09 +00:00
Doug MacEachern
7fc90a9aa4 refresh MIB_IFROW cache entries 2006-11-03 14:56:57 +00:00
Doug MacEachern
1bc2ad33a4 start overhaul of windows net_interface impls 2006-11-03 07:31:53 +00:00
Doug MacEachern
39a09989ed compile on windows with modern visual studios 2006-10-19 21:30:57 +00:00