Commit Graph

189 Commits

Author SHA1 Message Date
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
Doug MacEachern
043e1c143f generate ResourceLimit class 2005-07-08 01:11:42 +00:00
Doug MacEachern
73eed8b1c7 add win32_throw_error function 2005-06-27 04:22:36 +00:00
Doug MacEachern
4d4c242493 win32_throw_last_error right after function call to preserve GetLastError 2005-06-27 04:13:33 +00:00
Doug MacEachern
547f584064 remove hungarian notation 2005-06-27 03:41:43 +00:00
Doug MacEachern
d4df988507 s/serviceStartName/startName/ 2005-06-27 01:20:59 +00:00
Doug MacEachern
25398b10bf remote Win32.{GetLastError,GetErrorMessage}, handled in jni code now 2005-06-26 22:11:04 +00:00
Doug MacEachern
57b2a03436 fix compile 2005-06-26 22:10:28 +00:00
Doug MacEachern
284479c5ea throw exception if DeleteService fails 2005-06-26 22:07:58 +00:00
Doug MacEachern
1ce84e00fc throw exceptions in jni, GetLastError may have changed by the time it returns to java land 2005-06-26 22:04:32 +00:00
Doug MacEachern
c74f93fdea throw exceptions in jni, GetLastError may have changed by the time it returns to java land 2005-06-26 22:02:02 +00:00
Doug MacEachern
10fde2cca9 extern C 2005-06-26 22:01:04 +00:00
Doug MacEachern
150c4c5e9c add function to throw exception w/ FormatMessage of GetLastError() 2005-06-26 21:06:03 +00:00
Doug MacEachern
01f5cb6c9e increase chance of accurate error messages 2005-06-26 05:33:52 +00:00
Doug MacEachern
7f2451aa76 cleanup control stuff 2005-06-26 05:27:35 +00:00
Doug MacEachern
7e3f7cce07 rename binaryPathName to path 2005-06-26 02:44:44 +00:00
Doug MacEachern
bcd101741b add description to ServiceConfig 2005-06-26 02:18:05 +00:00
Doug MacEachern
5b87277a6f ServiceConfig.dependencies needs to be String[] 2005-06-26 01:54:11 +00:00
Doug MacEachern
5c9c3c6cf2 remove dll late binding code from asf. not only is it super ugly, it is not
thread safe.  change to use GetProcAddress the same way everyone else in the
world does.  (M-x un-bloom-ify)
2005-06-26 01:11:20 +00:00
Doug MacEachern
0532dd1e1d plug memory leak in GetErrorMessage 2005-06-26 00:52:03 +00:00
Doug MacEachern
5cd9bfd25e move GetLastError and GetErrorMessage to base class 2005-06-26 00:50:08 +00:00
Doug MacEachern
6764e30773 add function to fillin ServiceConfig object 2005-06-25 23:18:50 +00:00
Doug MacEachern
e91665d842 remove QueryServiceStartType 2005-06-25 17:01:08 +00:00
Doug MacEachern
7eabd263f5 rename Pdh.getSingleValue to Pdh.getRawValue 2005-06-15 00:17:04 +00:00
Doug MacEachern
241b1066e6 add Pdh.getFormattedValue method 2005-06-14 23:51:06 +00:00
Doug MacEachern
c67e485d0f typemap sigar_uint64_t to avoid compile warnings 2005-05-14 00:31:25 +00:00
Doug MacEachern
5e4d3e4475 test failing on my win3k due to log record ~100k. will fix later 2005-05-13 21:16:02 +00:00
Doug MacEachern
df43f0d115 change getFileSystemList to update the FileSystemMap 2005-05-08 17:33:42 +00:00
Doug MacEachern
b20fe9f6b6 fix file stat 2005-05-07 19:01:20 +00:00
Doug MacEachern
204041aed7 add static NetConnection.getStateString 2005-05-07 06:01:32 +00:00
Doug MacEachern
d630fa0647 fix typos 2005-04-27 22:39:05 +00:00
Doug MacEachern
22452e99fc add file_system_usage_t.used field 2005-04-26 19:55:21 +00:00
Doug MacEachern
4beb4e6fc4 turns on we need PERF_DETAIL_WIZARD for pdhGetInstances 2005-04-20 01:31:52 +00:00
Doug MacEachern
a3dd84419b add new disk fields 2005-04-07 01:24:06 +00:00
Doug MacEachern
52bb9324e9 freebsd has disk reads/writes 2005-04-07 01:19:31 +00:00
Doug MacEachern
15053e98ac add pdhConnectMachine 2005-03-30 00:59:45 +00:00
Doug MacEachern
807c8af462 pass protocol param to ProcPort method 2005-03-16 03:24:26 +00:00
Doug MacEachern
bcb098a34d stub proc_port for all platforms 2005-03-16 02:47:57 +00:00
Doug MacEachern
c31d2c5712 add protocol param to proc_port function 2005-03-16 02:44:52 +00:00
Doug MacEachern
9abeb7ef2b make sure we dont do NfsFileSystem on win32 2005-03-15 21:40:36 +00:00
Doug MacEachern
31b3fd00ba update NetConnection docs for FreeBSD 2005-03-15 19:00:08 +00:00
Doug MacEachern
26af15095d NetConnection doc update 2005-03-12 04:51:32 +00:00
Doug MacEachern
6076da7508 NetConnection queue fields 2005-03-12 04:50:47 +00:00
Doug MacEachern
98761935f7 add NetConnection state 2005-03-11 17:15:24 +00:00
Doug MacEachern
bd2ef09744 who bindings 2005-02-22 01:51:21 +00:00
Doug MacEachern
208e0c449e extra nfs sanity check 2005-02-21 04:05:23 +00:00
Doug MacEachern
6095ad4e6f use NfsFileSystem objects for nfs mounts 2005-02-21 02:19:13 +00:00