Commit Graph

246 Commits

Author SHA1 Message Date
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
Doug MacEachern
05eb2f8877 Compile on Windows AMD x64 2006-10-19 16:37:06 +00:00
Doug MacEachern
182d078581 Add vista check to sys_info 2006-09-30 18:36:12 +00:00
Doug MacEachern
73225803b4 add sys_info.description 2006-09-25 00:23:22 +00:00
Doug MacEachern
ce9fca8609 win32 sigar_os_sys_info_get impl 2006-09-25 00:09:21 +00:00
Doug MacEachern
84b8fff7b1 start port of OperatingSystem.java to sigar_sys_info C api 2006-09-24 18:23:04 +00:00
Doug MacEachern
33f868b53d [SIGAR-13] Use EnumProcesses for sigar_proc_list_get on Win32 2006-09-08 17:04:10 +00:00
Doug MacEachern
e472dc9d9a add copyright 2006-07-15 17:46:36 +00:00
Doug MacEachern
f1830f5576 revert TcpTable iteration to get LISTEN states first 2006-07-10 19:15:50 +00:00
Doug MacEachern
4f75602888 [SIGAR-8] Change win32 mem_get to use GlobalMemoryStatusEx 2006-07-07 20:29:22 +00:00
Doug MacEachern
c2f0528538 changing hwaddr to sigar_net_address_t 2006-07-05 21:33:59 +00:00
Doug MacEachern
aedc5d075e convert net_route to use net_address_t 2006-07-04 19:33:03 +00:00
Doug MacEachern
c42c645a0a store net_connection addresses in binary rather than string 2006-07-04 16:50:19 +00:00
Doug MacEachern
336c22d863 implement net_connection_walk for win32 2006-07-01 19:07:15 +00:00
Doug MacEachern
475ddf2428 remove mem.shared 2006-07-01 02:47:09 +00:00
Doug MacEachern
0aa428e669 proper check for GetUdpTable 2006-06-20 00:02:47 +00:00
Doug MacEachern
9f5ad58812 add net_interface_stat.speed 2006-03-07 01:08:23 +00:00
Doug MacEachern
372c09119d back out last change 2006-03-07 00:59:03 +00:00
Doug MacEachern
be0dd1c35e add net_interface_config.speed 2006-03-05 02:22:01 +00:00
Doug MacEachern
81a29ba2a2 Add net_interface_config.description 2006-03-04 22:28:09 +00:00
Doug MacEachern
61a2a98f67 try IFMIB first to get hwaddr and MTU 2006-03-04 22:12:18 +00:00
Doug MacEachern
e63e0ff456 remove proc_mem.{rss,vsize} 2006-03-04 02:48:58 +00:00
Doug MacEachern
a83dc21a87 proc_mem fixups 2006-03-04 02:23:02 +00:00
Doug MacEachern
55a1c28a1a readability++ 2005-12-21 04:58:02 +00:00