Commit Graph

184 Commits

Author SHA1 Message Date
Doug MacEachern
fe76b8fe7d stub tcp_stat function 2007-07-14 16:01:58 +00:00
Doug MacEachern
3e064dfeb7 rid warnings from modern MSVC 2007-06-27 01:10:12 +00:00
Doug MacEachern
67275223f3 move more utils to sigar_format.[ch] 2007-05-19 03:50:27 +00:00
Doug MacEachern
f037037b0a move string format utils to sigar_format.[ch] 2007-05-19 03:40:12 +00:00
Doug MacEachern
6e51d8ac7b add sigar_file_system_ping util 2007-05-17 06:12:54 +00:00
Doug MacEachern
994642cd26 Improve 64-bit detection
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-05-10 15:05:34 +00:00
Doug MacEachern
8772228ceb un-static proc_args_create 2007-04-22 19:57:34 +00:00
Doug MacEachern
6da1470043 fix ptql_query_find 2007-04-22 17:54:36 +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
1745dcf5d4 rename find_processes -> find 2007-04-22 03:16:38 +00:00
Doug MacEachern
503298c5cd move ProcessFinder.find to native code 2007-04-21 22:48:20 +00:00
Doug MacEachern
a1a9f3f494 add native single process finder 2007-04-21 18:04:47 +00:00
Doug MacEachern
2bb854483f improve native ptql exception messages 2007-04-15 23:26:09 +00:00
Doug MacEachern
aa4e73c437 allow setting of sigar_strerror 2007-04-15 23:06:57 +00:00
Doug MacEachern
9a04924df3 fold java CurrentProcessSummary metric into sigar_proc_stat_t 2007-04-14 22:28:25 +00:00
Doug MacEachern
578b7607db fold sigar_proc_count into sigar_proc_stat_get 2007-04-14 21:28:17 +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
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