Commit Graph

74 Commits

Author SHA1 Message Date
Doug MacEachern
1212c2f03e move win32 specific who_list stuff to win32_sigar.c 2005-09-26 23:35:57 +00:00
Doug MacEachern
1cf65abe89 refactor so netif list/config codes can be used on netware too 2005-09-03 01:34:20 +00:00
Doug MacEachern
3ff4089db1 remove dhcp_server from net_info 2005-07-17 17:46:07 +00:00
Doug MacEachern
43da1c4ac4 add net_route.metric 2005-07-15 04:13:45 +00:00
Doug MacEachern
9c20564afa set some route flags 2005-07-12 18:45:28 +00:00
Doug MacEachern
77a51da4b6 fix net_info 2005-07-11 23:54:39 +00:00
Doug MacEachern
6b238421e7 net_info dhcp_server and default_gateway for windows 2005-07-11 23:24:00 +00:00
Doug MacEachern
0a67c7fac2 fillin net_info.host_name 2005-07-11 22:44:13 +00:00
Doug MacEachern
62188b3ee0 start net_info impl for windows 2005-07-11 22:40:31 +00:00
Doug MacEachern
713e955063 fix ifstat->rx_frame 2005-05-14 00:02:33 +00:00
Doug MacEachern
33d320fcb2 use psapi instead of CreateToolSnapshot. it is possible for the latter to hang
on windows 2000 and the former also works on NT
2005-05-13 20:56:17 +00:00
Doug MacEachern
13466030b7 missing FreeLibrary call 2005-05-13 20:13:51 +00:00
Doug MacEachern
48097a4bb4 close the snapshot handle 2005-05-13 20:05:37 +00:00
Doug MacEachern
09b258d9fb use sigar_inet_ntoa 2005-05-13 15:16:49 +00:00
Doug MacEachern
7a4580fc08 more cpu time to seconds conversion 2005-05-11 23:37:22 +00:00
Doug MacEachern
1146d10e26 convert cpu times to seconds 2005-05-11 23:17:39 +00:00
Doug MacEachern
f0f5c5646a skip format for udp remote addr 2005-05-08 17:23:24 +00:00
Doug MacEachern
dbaa11385a better defaults for udp remote addr:port (none) 2005-05-08 17:20:00 +00:00
Doug MacEachern
e451aa4da6 fix net_connection filters 2005-05-07 06:00:55 +00:00
Doug MacEachern
05aea8c508 disk i/o metrics for win2k 2005-04-27 18:54:42 +00:00
Doug MacEachern
22452e99fc add file_system_usage_t.used field 2005-04-26 19:55:21 +00:00
Doug MacEachern
dbfda75b1b fix disk queue metric 2005-04-07 02:11:00 +00:00
Doug MacEachern
34eda4866b implement new disk fields 2005-04-07 01:23:49 +00:00
Doug MacEachern
2582ada2b9 ProcPort udp support 2005-03-20 03:20:28 +00:00
Doug MacEachern
0440707db7 check protocol in proc_port 2005-03-16 03:49:54 +00:00
Doug MacEachern
c31d2c5712 add protocol param to proc_port function 2005-03-16 02:44:52 +00:00
Doug MacEachern
b9144d1728 pass sigar_t* to sigar_os_error_string 2005-03-12 06:19:34 +00:00
Doug MacEachern
caed46facd no net_connection queue metrics 2005-03-12 04:49:38 +00:00
Doug MacEachern
3c0527670c fillin net_connection.state 2005-03-11 17:11:30 +00:00
Doug MacEachern
533e425c87 map tcp state 2005-03-11 04:45:09 +00:00
Doug MacEachern
3e3e117f18 fix key for disk metrics, but wtf it still worked fine 2005-02-18 20:18:40 +00:00
Doug MacEachern
311c1a2f1c old NtQuerySystemInformation works as expected for cpu metrics, use it instead of perflib 2005-02-18 20:13:17 +00:00
Doug MacEachern
f7a1567a9f old NtQuerySystemInformation works as expected for cpu metrics, use it instead of perflib 2005-02-18 20:03:52 +00:00
Doug MacEachern
7f15d07b45 fix win2003 crash 2005-01-28 16:33:12 +00:00
Doug MacEachern
9143abc140 fix windows 2003 perfdata registry/pdh.dll problem 2005-01-27 02:28:31 +00:00
Doug MacEachern
728fd6d75d initialize disk metrics for all platforms 2004-12-05 23:42:23 +00:00
Doug MacEachern
dfdff8b635 use SIGAR_FIELD_NOTIMPL constant in place of -1 or 0 for fields which are not implemented for a given platform 2004-12-05 23:36:48 +00:00
Doug MacEachern
e5582816c6 start disk i/o metrics 2004-12-05 01:18:57 +00:00
Doug MacEachern
46ba56bc17 add cpu.wait metric 2004-11-22 01:51:34 +00:00
Doug MacEachern
fee5b18641 removing mem.{buffer,cached} fields.
replace with actual_{free,used} fields so we can portably adjust
-/+ buffers/cache on linux and perhaps on other platforms w/ different
semantics.
2004-11-20 02:08:16 +00:00
Doug MacEachern
84b4a376ae thread_cpu impl 2004-11-17 04:56:00 +00:00
Doug MacEachern
2f5ccd9019 log message if we cant determine idle cpu time 2004-11-02 23:34:01 +00:00
Doug MacEachern
b1acfcf5e9 fix cpu idle metric for windows NT and 2000 2004-11-02 23:17:18 +00:00
Doug MacEachern
ed77b95632 fix possible crash in get_cpu_instance 2004-08-27 23:06:46 +00:00
Doug MacEachern
4736d77c87 add proc_time.total field (sum of user+sys) 2004-08-21 00:25:07 +00:00
Doug MacEachern
606275fc36 renaming proc_time.{utime,stime} to proc_time.{user,sys}
'utime' and 'stime' are common within system structures, but with lots of
other stuff in the structure unrelated to time.  having 'time' in both the
structure/class name and the field at the sigar level is just lame.
2004-08-21 00:13:13 +00:00
Doug MacEachern
25887e0f4a change get_proc_info to report 'No such process' 2004-08-10 22:24:12 +00:00
Doug MacEachern
b85eea0ff9 workaround issue seen on occasion w/ 2003 server in vmware.
for reasons unknown, the process perf object sometimes comes back with
the counter titles but no instances.  this would crash the agent.
2004-08-10 21:51:13 +00:00
Doug MacEachern
948b456433 fix get_perf_object, ReqQuery was shrinking the sigar->perfbuf_size 2004-08-09 21:46:34 +00:00
Doug MacEachern
bbc1b99d32 fix proc_args when cmdline crosses first page boundry (seen w/ WebSphere) 2004-08-04 05:18:05 +00:00