Commit Graph

3050 Commits

Author SHA1 Message Date
Doug MacEachern 1e45ce07e4 prefer ipv4 listen addresses 2007-04-06 16:22:24 +00:00
Doug MacEachern 4e9ee330df broaden inet_ntop support 2007-04-06 16:05:47 +00:00
Doug MacEachern 8f393ee9cc properly handle ipv6 addresses in net_connection_get 2007-04-06 15:44:12 +00:00
Doug MacEachern c6cad78da2 fix net_listen caching 2007-04-06 15:20:09 +00:00
Doug MacEachern 84f5dd1ca5 test stuff 2007-04-06 14:03:29 +00:00
Doug MacEachern 4a9e360914 add primary interface info 2007-04-06 13:54:42 +00:00
Doug MacEachern 873849d4aa replace getNetListenAddress with native function 2007-04-06 13:47:02 +00:00
Doug MacEachern 66fe4fee09 format nit 2007-04-06 13:39:25 +00:00
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 fbaa233617 save listen port address as cache val for later use 2007-04-06 12:27:32 +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 808a7deeba update changes 2007-04-05 20:31:26 +00:00
Doug MacEachern e3edf38057 [SIGAR-46] Fix cpu_info.{mhz,cache_size} fields in UML vms 2007-04-05 18:51:22 +00:00
Doug MacEachern f1899e093d fix whitespace trim in cpu_model_adjust 2007-04-05 18:46:04 +00:00
Doug MacEachern e91faa5dbc change net_info to work if /etc/resolv.conf does not exist 2007-04-05 17:00:28 +00:00
Doug MacEachern a2572d9510 change net_interface_config_primary_get to likely interface if none have an ip (unplugged) 2007-04-05 16:56:42 +00:00
Doug MacEachern ea2ae2b59f fix macro def 2007-04-05 16:20:35 +00:00
Doug MacEachern 2af66e050e return SIGAR_ENXIO if sigar_net_interface_config_primary_get fails 2007-04-05 15:55:59 +00:00
Doug MacEachern e2bf1c40d4 add SIGAR_ENXIO 2007-04-05 15:55:42 +00:00
Doug MacEachern 7dab1f69a2 return SIGAR_ENOENT if sigar_net_interface_config_primary_get fails 2007-04-05 15:50:23 +00:00
Doug MacEachern 9d528d6d78 move some errno mappings to sigar.h 2007-04-05 15:49:17 +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 0e48e92124 allow null Strings to pass thru 2007-04-05 15:27:23 +00:00
Doug MacEachern 3c82da72c2 unicode-ize 2007-04-05 15:06:13 +00:00
Doug MacEachern 676be63f35 test ProcFileMirror 2007-04-05 02:49:54 +00:00
Doug MacEachern 1ca37d4411 FileWatcher to mirror /proc files 2007-04-05 02:49:23 +00:00
Doug MacEachern be5ee7b600 [SIGAR-4] Add hook for using mirrored /proc/net/tcp file 2007-04-05 02:26:00 +00:00
Doug MacEachern 16a1273b70 handle versioned .jar files 2007-04-04 18:22:25 +00:00
Doug MacEachern 1092f32fe2 update proc_state.threads javadoc 2007-04-04 18:22:05 +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 b1a19f4e72 Implement proc_state_t.threads on OS X 2007-03-24 23:07:42 +00:00
Doug MacEachern da7ea6cb29 add function to get primary net_interface_config 2007-03-13 03:49:08 +00:00
Doug MacEachern 02ddbf19cd validate string to pid conversion 2007-03-11 22:44:30 +00:00
Doug MacEachern 259e157b30 fix Pid.Service query parse result 2007-03-11 22:39:47 +00:00
Doug MacEachern 54792c3914 include errno.h 2007-03-11 22:23:11 +00:00
Doug MacEachern 156cb68b3c validate string to number conversion 2007-03-11 22:18:04 +00:00
Doug MacEachern 10a031eda3 validate string to number conversion 2007-03-11 22:14:50 +00:00
Doug MacEachern cb4dbce82d validate char value length == 1 2007-03-11 22:06:22 +00:00
Doug MacEachern 0ae78b60d9 add ProcCpu support 2007-03-11 22:00:07 +00:00
Doug MacEachern 9983d0a80d add support for double values 2007-03-11 21:58:03 +00:00
Doug MacEachern 04f5080859 implement Pid.Service query 2007-03-11 21:50:23 +00:00
Doug MacEachern 4162251bf3 add ProcCpu typemap 2007-03-11 21:48:47 +00:00
Doug MacEachern 93ef97aaa8 Implement native sigar_proc_cpu_get function 2007-03-11 21:46:41 +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 29ef270b9a add ptql re java impl 2007-03-07 05:11:53 +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 537863b3c3 -Dsigar.ptql.native=true to enable testing native port 2007-03-07 05:08:19 +00:00