Commit Graph

207 Commits

Author SHA1 Message Date
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
Doug MacEachern 63924059e2 rid lousy getarg parser in favor of CommandLineToArgvW 2004-08-03 03:25:17 +00:00
Doug MacEachern 2e8f6226e3 some fixes and make command line parser reusable 2004-08-03 03:18:40 +00:00
Doug MacEachern bb02117ef4 change proc_args to use CommandLineToArgvW parser 2004-08-03 03:06:25 +00:00
Doug MacEachern 042c38ae95 remove old code to get proc_args 2004-08-03 02:58:48 +00:00
Doug MacEachern b8a09c70f0 increase peb cmdline buffer size 2004-08-03 02:45:26 +00:00
Doug MacEachern df5e418f30 canonicalize proc_exe.{name,cwd} 2004-08-01 20:42:18 +00:00
Doug MacEachern d939d1763c use PEB to get the proc_exe.cwd 2004-08-01 20:31:42 +00:00
Doug MacEachern 3945733a4b filter out the system Idle process from proc_list 2004-07-28 21:50:06 +00:00
Doug MacEachern 2fa069d068 change proc_args to use the PEB 2004-07-28 21:47:14 +00:00
Doug MacEachern dc4168178d removing uptime.idletime (only linux had this) 2004-07-21 21:56:55 +00:00
Doug MacEachern ddc6f4c55c missed api _list convention, cpu_infos -> cpu_info_list 2004-07-10 04:44:45 +00:00
Doug MacEachern 2168c3b578 adjust cpu model name 2004-07-02 01:27:04 +00:00
Doug MacEachern 77b2883e1e prefer ProcessorNameString to Indentifier for cpu model name 2004-07-02 01:26:45 +00:00
Doug MacEachern ddc2874791 fix winnt flag 2004-06-30 22:43:48 +00:00
Doug MacEachern 1c32c2acc9 fix off-by-one bug in proc_args 2004-06-30 21:20:19 +00:00
Doug MacEachern f0b267957a NT does not have a Processor _Total perf counter instance 2004-06-23 05:21:13 +00:00
Doug MacEachern 300094d65d also remove 'Authentic' if vendor is AMD 2004-06-23 01:10:40 +00:00
Doug MacEachern cb27ce6b1f change cpu_info vendor to 'Intel' instead of 'GenuineIntel' 2004-06-23 01:00:51 +00:00
Doug MacEachern 903fabc3e4 remove malloc casts 2004-06-22 23:44:46 +00:00
Doug MacEachern 903c369671 dont hardcode 2 logical processors if ht_enabled 2004-06-22 19:22:50 +00:00
Doug MacEachern 003d416408 fix get_perf_object error handling.
morg experienced an ERROR_BUSY which crashed the agent, this is properly
handled now.
2004-06-22 17:51:38 +00:00
Doug MacEachern a23ff178db add winnt flag and use it in proc_modules 2004-06-22 17:15:10 +00:00
Doug MacEachern aeeb51e25c proc_modules impl 2004-06-22 06:12:51 +00:00
Doug MacEachern dffe0da855 Initial revision 2004-06-21 22:37:04 +00:00