Commit Graph

216 Commits

Author SHA1 Message Date
Doug MacEachern f6f395d68e Add net_listen_address function to lookup bind address of a listen socket 2007-04-06 12:50:05 +00:00
Doug MacEachern 614fd63728 [SIGAR-4] Move to walk version of net_stat 2007-04-06 12:14:38 +00:00
Doug MacEachern 86deb1a2d9 Add net_stat_port function to provide metrics on specific port+address 2007-04-06 05:05:37 +00:00
Doug MacEachern ea2ae2b59f fix macro def 2007-04-05 16:20:35 +00:00
Doug MacEachern e2bf1c40d4 add SIGAR_ENXIO 2007-04-05 15:55:42 +00:00
Doug MacEachern 9d528d6d78 move some errno mappings to sigar.h 2007-04-05 15:49:17 +00:00
Doug MacEachern b457837f28 Fix cpu ticks to msec on linux/ia64
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-03-29 20:40:54 +00:00
Doug MacEachern da7ea6cb29 add function to get primary net_interface_config 2007-03-13 03:49:08 +00:00
Doug MacEachern 93ef97aaa8 Implement native sigar_proc_cpu_get function 2007-03-11 21:46:41 +00:00
Doug MacEachern b615e4b90c add hook to implement ptql re when not compiled with pcre 2007-03-07 05:09:56 +00:00
Doug MacEachern f5937a5bdf fix compile warning on solaris 2007-03-02 14:09:13 +00:00
Doug MacEachern 123e14e283 add signal name lookup support 2007-03-01 06:15:23 +00:00
Doug MacEachern 20d17f623e remove unused sigar param in ptql_query_{create,destroy} 2007-02-20 01:54:00 +00:00
Doug MacEachern 1c8433cd7d fix possible overflow 2007-02-05 20:21:53 +00:00
Doug MacEachern 07c0cb7ff0 make sigar_strerror usable internally w/o sigar_t 2007-01-03 22:47:00 +00:00
Doug MacEachern 5df1cb66d3 start native ptql impl 2006-12-18 07:34:24 +00:00
Doug MacEachern 7f039d6033 add offsetof helper 2006-12-18 05:51:45 +00:00
Doug MacEachern 524844f9a6 remove TICK2SEC, add TICK2NSEC 2006-12-04 18:44:28 +00:00
Doug MacEachern 795fa1ae44 [SIGAR-19] change process cpu time units to milliseconds 2006-12-04 03:42:27 +00:00
Doug MacEachern f5d84d4f67 rename INET6_ADDRSTRLEN -> SIGAR_INET6_ADDRSTRLEN 2006-10-19 20:10:13 +00:00
Doug MacEachern 768b4c31ed add sigar_strtoull 2006-10-10 16:27:01 +00:00
Doug MacEachern d93c43fa9b dont include strings.h ifdef darwin 2006-09-26 13:23:48 +00:00
Doug MacEachern 3633786fce save utsname.machine in sys_info.machine 2006-09-25 01:47:33 +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 36fc25dab6 _r functions are deprecated in hpux 11 and not supported on itanium 2006-08-05 00:35:00 +00:00
Doug MacEachern e472dc9d9a add copyright 2006-07-15 17:46:36 +00:00
Doug MacEachern 93b3e261c5 add build to sigar_version_t 2006-07-13 21:56:06 +00:00
Doug MacEachern 859900e605 add/use SIGAR_64BIT macro and include powerpc64 2006-07-11 17:05:48 +00:00
Doug MacEachern 022f2d5e29 change hwaddr_set_null macro to prevent warnings from newer gcc 2006-07-11 16:30:09 +00:00
Doug MacEachern 42e0842c54 add sigar_net_address_hash function 2006-07-10 20:42:16 +00:00
Doug MacEachern 508a7d19b4 use sigar_uint32_t for net_stat metrics 2006-07-10 20:04:41 +00:00
Doug MacEachern 4a3a4caa07 fix SIGAR_IFHWADDRLEN 2006-07-05 21:38:44 +00:00
Doug MacEachern c2f0528538 changing hwaddr to sigar_net_address_t 2006-07-05 21:33:59 +00:00
Doug MacEachern 287af5e947 changing hwaddr to sigar_net_address_t 2006-07-05 21:12:10 +00:00
Doug MacEachern f410dfa739 sigar_inet_ntoa should only be used internally now 2006-07-05 18:11:25 +00:00
Doug MacEachern ee37d10b2c convert net_route to use net_address_t 2006-07-04 19:22:05 +00:00
Doug MacEachern 86c4011c40 convert net_interface_config to use sigar_net_address_t 2006-07-04 17:32:08 +00:00
Doug MacEachern e4303ee612 store net_connection addresses in binary rather than string 2006-07-04 16:35:27 +00:00
Doug MacEachern 196c91703c add uint32 typedef 2006-07-03 21:38:43 +00:00
Doug MacEachern 475ddf2428 remove mem.shared 2006-07-01 02:47:09 +00:00
Doug MacEachern c24b20a928 add net_connection_walk decl 2006-06-20 00:27:58 +00:00
Doug MacEachern bebf4d7713 decls for native net stat metrics 2006-06-20 00:17:59 +00:00
Doug MacEachern 8f29dedf2d add sigar_cache_find function 2006-06-20 00:13:12 +00:00
Doug MacEachern b279cfa785 start alternative to sigar_net_connection_list_get 2006-06-15 20:50:00 +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 e63e0ff456 remove proc_mem.{rss,vsize} 2006-03-04 02:48:58 +00:00
Doug MacEachern e389b157f1 fix win32 compile 2006-03-03 02:31:21 +00:00
Doug MacEachern 5c26b463d9 [HQ-93] un-clobber stack data in sigar_gethostbyname 2006-03-02 22:53:09 +00:00
Doug MacEachern 9f1fa65239 add RPC.strerror 2006-02-27 01:47:41 +00:00
Doug MacEachern 8342b063de un-static-ize sigar_gethostbyname 2006-02-27 01:21:07 +00:00
Doug MacEachern b3fda3e6c1 replace nfs_ping with generic rpc_ping 2006-02-26 23:31:07 +00:00
Doug MacEachern 8ce111b16c add function to derive mhz from cpu model name 2006-01-03 21:47:26 +00:00
Doug MacEachern c4d439f609 add more version fields 2005-12-14 23:48:28 +00:00
Doug MacEachern 4f428bddaf add sigar_version stuff 2005-12-14 23:41:01 +00:00
Doug MacEachern 5fc7cc7134 move sigar_get_self_path to sigar_util 2005-12-14 18:40:13 +00:00
Doug MacEachern dc3eceb517 move self_path to the base sigar_t 2005-12-14 18:35:19 +00:00
Doug MacEachern d50e4efe42 add dir_usage, recursive version of dir_stat 2005-12-14 02:56:13 +00:00
Doug MacEachern ab3abd5119 add dir_stat.disk_usage 2005-12-14 01:28:44 +00:00
Doug MacEachern 26f4aa8cbb add sigar_getword prototype 2005-12-13 01:33:33 +00:00
Doug MacEachern 530157168d add proc_mem page fault metrics 2005-11-23 17:39:28 +00:00
Doug MacEachern 6b7a36f521 add proc_state.processor 2005-11-23 01:16:52 +00:00
Doug MacEachern 2f1ecff921 change proc_state.threads type 2005-11-23 00:43:29 +00:00
Doug MacEachern fb61a2ebb0 add proc_state.threads metric 2005-11-22 21:45:45 +00:00
Doug MacEachern ab3c15d2e7 constify nic types 2005-11-18 19:54:23 +00:00
Doug MacEachern bb478479b2 add support for IFF_SLAVE flag (used by vmnic) 2005-11-18 18:26:52 +00:00
Doug MacEachern dc347bc614 add net_interface_config.type 2005-11-18 18:07:35 +00:00
Doug MacEachern 56b41b34df turn on dmalloc function checking 2005-11-10 01:23:15 +00:00
Doug MacEachern 100aed0cb3 integrate dmalloc.h 2005-11-09 18:26:10 +00:00
Doug MacEachern 7fe8f2a007 making /proc easier to redefine 2005-10-07 16:18:50 +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 4eca5b0aa0 add pipe_size to resource_limit 2005-07-22 02:26:48 +00:00
Doug MacEachern 56aa4553f5 remove resource_limit.ulimited, switch to ResourceLimit.INFINITY 2005-07-21 23:34:36 +00:00
Doug MacEachern 3ff4089db1 remove dhcp_server from net_info 2005-07-17 17:46:07 +00:00
Doug MacEachern 300ef18259 add some route flags 2005-07-12 18:40:38 +00:00
Doug MacEachern 75bbbb0f45 add net_info.host_name 2005-07-11 22:43:56 +00:00
Doug MacEachern 9e98a05fc7 rename net_info.domain to domain_name 2005-07-11 20:41:57 +00:00
Doug MacEachern 66a262afa8 add net_info decls 2005-07-11 20:20:56 +00:00
Doug MacEachern 82d6a0a1c5 rename some rlimits 2005-07-08 01:11:03 +00:00
Doug MacEachern c6959b47e3 add resource_limit decls 2005-07-08 01:03:15 +00:00
Doug MacEachern 6139fc7c18 fixup SIGAR_TICK2SEC macro 2005-05-12 00:49:05 +00:00
Doug MacEachern b1b7d8b605 add SIGAR_TICK2SEC macro 2005-05-12 00:10:17 +00:00
Doug MacEachern 22452e99fc add file_system_usage_t.used field 2005-04-26 19:55:21 +00:00
Doug MacEachern fc9e8e1e69 adding more disk fields 2005-04-07 01:23:31 +00:00
Doug MacEachern 7e20f9e1d0 add more disk fields 2005-04-07 01:23:17 +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 272d3662b3 add net_connection.{send,receive}_queue fields 2005-03-12 04:12:15 +00:00
Doug MacEachern 634d83afbe add SIGAR_TCP_{IDLE,BOUND} 2005-03-12 02:17:20 +00:00
Doug MacEachern d0c0043afe add SIGAR_TCP_UNKNOWN 2005-03-11 17:11:07 +00:00
Doug MacEachern 8964e0264d add sigar_net_connection_state_get function 2005-03-11 17:07:55 +00:00
Doug MacEachern da09d33f35 add sigar_net_connect_t.state 2005-03-11 16:59:43 +00:00
Doug MacEachern b16072f3cb tcp states 2005-03-11 04:44:26 +00:00
Doug MacEachern 182bd26065 decls for sigar_who 2005-02-22 01:50:16 +00:00
Doug MacEachern 9cbc2d0e75 nfs ping cleanup 2005-02-21 01:50:34 +00:00
Doug MacEachern b2cc0c4c48 move /proc/pid/cmdline parsing to sigar_util.c 2005-02-09 07:29: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 67f1b3a6a3 add sigar_cache decls 2004-12-05 21:09:14 +00:00
Doug MacEachern 6852882203 use function pointer to free value 2004-12-05 20:48:35 +00:00
Doug MacEachern e5582816c6 start disk i/o metrics 2004-12-05 01:18:57 +00:00
Doug MacEachern f932402774 hash table for caching username lookups, etc. 2004-12-04 22:44:55 +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 cf93196a8a convert seconds to nanoseconds 2004-11-17 05:45:14 +00:00
Doug MacEachern f1b03cea1f decls for thread_cpu 2004-11-17 04:55:31 +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 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 13d1d102f8 add some log helpers 2004-07-05 22:23:03 +00:00
Doug MacEachern 4df7191361 add function to cleanup cpu model name 2004-07-02 01:25:35 +00:00
Doug MacEachern 3fd81bf749 decls for new proc_modules functions 2004-06-22 06:11:38 +00:00
Doug MacEachern dffe0da855 Initial revision 2004-06-21 22:37:04 +00:00