Commit Graph

235 Commits

Author SHA1 Message Date
Doug MacEachern
9a04924df3 fold java CurrentProcessSummary metric into sigar_proc_stat_t 2007-04-14 22:28:25 +00:00
Doug MacEachern
d272e88b2d fix serialVersionUID on 64-bit systems 2007-04-11 00:46:53 +00:00
Doug MacEachern
873849d4aa replace getNetListenAddress with native function 2007-04-06 13:47:02 +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
9d528d6d78 move some errno mappings to sigar.h 2007-04-05 15:49:17 +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
1092f32fe2 update proc_state.threads javadoc 2007-04-04 18:22:05 +00:00
Doug MacEachern
93ef97aaa8 Implement native sigar_proc_cpu_get function 2007-03-11 21:46: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
e0e7e7d4a0 sizeof PDH_STATUS == sizeof int 2007-03-05 23:56:30 +00:00
Doug MacEachern
c2296865e2 add PdhValidatePath wrapper 2007-03-05 21:24:03 +00:00
Doug MacEachern
9289f45dce add PdhLookupPerfIndexByName wrapper 2007-03-04 19:06:53 +00:00
Doug MacEachern
cd49b7281f unicode-ize 2007-03-03 23:05:10 +00:00
Doug MacEachern
9dae5e1ab1 add PdhLookupPerfNameByIndex wrapper 2007-03-03 22:20:24 +00:00
Doug MacEachern
8f70da2dd3 add win32.LocaleInfo 2007-03-03 21:03:21 +00:00
Doug MacEachern
eda91e1e8a add RegistryKey.getMultiStringValue() 2007-03-03 18:25:02 +00:00
Doug MacEachern
123e14e283 add signal name lookup support 2007-03-01 06:15:23 +00:00
Doug MacEachern
30c1d35714 Make Java objects returned by Sigar class Serializable 2007-02-24 16:19:17 +00:00
Doug MacEachern
25994f6abd add native ptql bindings 2007-02-20 02:07:19 +00:00
Doug MacEachern
45d95b1f74 vmcontrol wrapper not currently support on native 64-bit 2006-12-05 06:36:15 +00:00
Doug MacEachern
b3a94c71eb always include stdio.h 2006-12-04 22:48:16 +00:00
Doug MacEachern
fb7a499219 use env for dl_debug 2006-12-04 21:55:55 +00:00
Doug MacEachern
894f7e52ad Add Java wrapper for VMware vmcontrol API 2006-12-04 21:07:46 +00:00
Doug MacEachern
228ee133be [SIGAR-26] Change Pdh.getFormattedValue() to collect 2 counters if needed 2006-12-04 19:45:00 +00:00
Doug MacEachern
39a09989ed compile on windows with modern visual studios 2006-10-19 21:30:57 +00:00
Doug MacEachern
f5d84d4f67 rename INET6_ADDRSTRLEN -> SIGAR_INET6_ADDRSTRLEN 2006-10-19 20:10:13 +00:00
Doug MacEachern
b619761246 add SysInfo.machine 2006-09-25 12:58:17 +00:00
Doug MacEachern
8d9ef28aec generate SysInfo class 2006-09-25 00:23:52 +00:00
Doug MacEachern
e472dc9d9a add copyright 2006-07-15 17:46:36 +00:00
Doug MacEachern
859900e605 add/use SIGAR_64BIT macro and include powerpc64 2006-07-11 17:05:48 +00:00
Doug MacEachern
068e85880f untabify 2006-07-11 00:46:08 +00:00
Doug MacEachern
00058b3de6 [SIGAR-4] switch to native version of NetStat.stat 2006-07-11 00:40:06 +00:00
Doug MacEachern
3c17c4974e fix file check 2006-07-11 00:25:08 +00:00
Doug MacEachern
7b17fae247 use /dev/null or equiv when skipping generated .java 2006-07-10 22:03:37 +00:00
Doug MacEachern
b471945fbd use generated jfieldId cache/setter for NetStat 2006-07-10 21:54:57 +00:00
Doug MacEachern
170bc35076 dont generate .java if already exists
add alias mechanism for structure members
2006-07-06 18:18:50 +00:00
Doug MacEachern
287af5e947 changing hwaddr to sigar_net_address_t 2006-07-05 21:12:10 +00:00
Doug MacEachern
c13e03716e adjust .def generator 2006-07-05 19:08:44 +00:00
Doug MacEachern
9751e49318 remove obsolete 'NetAddr' mapping 2006-07-04 19:24:22 +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
f26a733bfa add/use macro for all functions in the 'Sigar' class 2006-07-03 16:26:21 +00:00
Doug MacEachern
841746528a fix net_stat to deal w/ sizeof(jint) != sizeof(int) 2006-07-01 19:28:53 +00:00
Doug MacEachern
dc6429ad45 expose sigar_net_stat_get now that all platforms implement net_connection_walk 2006-07-01 19:14:32 +00:00
Doug MacEachern
475ddf2428 remove mem.shared 2006-07-01 02:47:09 +00:00
Doug MacEachern
09e476c9ae rename net.hyperic.sigar -> org.hyperic.sigar 2006-06-27 12:44:52 +00:00
Doug MacEachern
693e37dd25 use package variable 2006-06-22 17:04:48 +00:00
Doug MacEachern
8091316504 binding for native net_stat 2006-06-20 03:12:28 +00:00
Doug MacEachern
a832ba371b fix @see links 2006-03-31 18:14:08 +00:00
Doug MacEachern
81a29ba2a2 Add net_interface_config.description 2006-03-04 22:28:09 +00:00
Doug MacEachern
5e2271ca59 deprecating ProcMem.getVsize, ProcMem.getSize will be the same on all.
deprecating ProcMem.getRss, ProcMem.getResident will be the same on all.
2006-03-04 02:34:01 +00:00
Doug MacEachern
9f1fa65239 add RPC.strerror 2006-02-27 01:47:41 +00:00
Doug MacEachern
f0cdd946c5 change rpc_ping to return the status code 2006-02-27 01:33:12 +00:00
Doug MacEachern
b3fda3e6c1 replace nfs_ping with generic rpc_ping 2006-02-26 23:31:07 +00:00
Doug MacEachern
29b59a0d2b if counter name does not exist, try w/ "/sec" appended 2006-01-16 00:33:01 +00:00
Doug MacEachern
83d4958bb0 add win32 methods to help find exe associated w/ a script extension 2006-01-10 22:37:27 +00:00
Doug MacEachern
1ec36664bc support mapping of os impl errors to Sigar*Exception classes 2006-01-04 22:45:31 +00:00
Doug MacEachern
526ee37bcb fix compile on freebsd 4.x 2005-12-31 18:43:09 +00:00
Doug MacEachern
0d2a149924 refactor interaction with windows dlls 2005-12-20 23:09:34 +00:00
Doug MacEachern
97a31a24f5 add native version/build date 2005-12-16 01:20:17 +00:00
Doug MacEachern
2e7bb972fd add DirUsage 2005-12-14 02:58:26 +00:00
Doug MacEachern
ab3abd5119 add dir_stat.disk_usage 2005-12-14 01:28:44 +00:00
Doug MacEachern
1e307231d7 proc_mem.page_faults for darwin 2005-11-28 17:50:43 +00:00
Doug MacEachern
a939985b5d generate toMap and toString methods 2005-11-23 19:33:12 +00:00
Doug MacEachern
02ccb0c023 doc 2005-11-23 18:04:16 +00:00
Doug MacEachern
530157168d add proc_mem page fault metrics 2005-11-23 17:39:28 +00:00
Doug MacEachern
c0b7bfffc0 plat doc 2005-11-23 16:27:42 +00:00
Doug MacEachern
6b7a36f521 add proc_state.processor 2005-11-23 01:16:52 +00:00
Doug MacEachern
3b07e0933e doc ProcState.getThreads supported platforms 2005-11-23 00:41:33 +00:00
Doug MacEachern
fb61a2ebb0 add proc_state.threads metric 2005-11-22 21:45:45 +00:00
Doug MacEachern
e8e6f86666 add NetInterfaceConfig.getType() 2005-11-18 18:08:49 +00:00
Doug MacEachern
21e504babe backout debug turd 2005-11-17 02:51:50 +00:00
Doug MacEachern
05624b41cb dont bail in net_interface_config_get if address query fails (e.g. vmnic1) 2005-11-17 02:50:37 +00:00
Doug MacEachern
0b8fa1438a setup/shutdown dmalloc 2005-11-09 18:38:33 +00:00
Doug MacEachern
a77e9a63b3 doc update 2005-11-01 19:16:12 +00:00
Doug MacEachern
12752e0f6a include sigar_util.h 2005-10-10 20:17:28 +00:00
Doug MacEachern
77df863144 sigar_t already has a handle to advapi32.dll, use it 2005-10-10 20:15:12 +00:00
Doug MacEachern
d5558f8487 refresh jsigar->env pointer used for logging 2005-10-10 20:01:29 +00:00
Doug MacEachern
d4f0bab72e various fixes 2005-09-24 21:16:29 +00:00
Doug MacEachern
e71a9e5b3e EventLogRecord.message fixes 2005-09-24 04:37:55 +00:00
Doug MacEachern
67f3334250 rename EventLogRecord.getStringData() to getMessage() 2005-09-24 00:24:49 +00:00
Doug MacEachern
624f93de8a ensure null termination 2005-09-23 02:38:49 +00:00
Doug MacEachern
288bd907f2 fix EventLogRecord.stringData 2005-09-23 02:31:43 +00:00
Doug MacEachern
236363efa8 change getStringValue to try EXPANDSZ_METADATA if STRING_METADATA fails 2005-09-23 00:12:58 +00:00
Doug MacEachern
1bc0ecade2 save a reference to log name and pass around internally 2005-09-23 00:11:55 +00:00
Doug MacEachern
c28ab5253a some fixes for EventLogRecord.stringData 2005-09-22 17:10:27 +00:00
Doug MacEachern
8fc1facb28 generate netware exports from javasigar.c 2005-08-28 06:00:27 +00:00
Doug MacEachern
59ec9d00e1 generate .def file for netware 2005-08-28 05:49:29 +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
a7b4acb4bb include unistd.h for isatty 2005-07-21 04:39:35 +00:00
Doug MacEachern
1f6fabc9c1 add isatty method 2005-07-21 04:36:53 +00:00
Doug MacEachern
fd5d821940 add FileSystem.toString 2005-07-21 03:04:27 +00:00
Doug MacEachern
3ff4089db1 remove dhcp_server from net_info 2005-07-17 17:46:07 +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
63afc8aa07 add NetInfo class 2005-07-11 20:21:48 +00:00