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
Doug MacEachern
760dac9604
nfs ping binding
2005-02-21 02:02:45 +00:00
Doug MacEachern
07ab121475
need long to store pointer on 64bit linux
2005-02-16 22:22:49 +00:00
Doug MacEachern
63c5b91496
platform doc updates
2005-02-13 06:49:16 +00:00
Doug MacEachern
d49a0b720a
GetInstances only needs PERF_DETAIL_NOVICE to get the names
2005-01-26 22:04:56 +00:00
Doug MacEachern
14942613a3
use PdhGetRawCounterValue instead of PdhGetFormattedCounterValue
2005-01-26 22:00:44 +00:00
Doug MacEachern
eb1528f3f4
add Service.getServiceNames method
2004-12-12 02:48:39 +00:00
Doug MacEachern
ce617f3867
hpux has disk metrics now
2004-12-11 20:31:48 +00:00
Doug MacEachern
7362619bc1
more fixes for ibm/websphere4 jdk
2004-12-10 00:45:36 +00:00
Doug MacEachern
5b51110c92
update disk metric docs
2004-12-07 06:29:32 +00:00
Doug MacEachern
25c3a927e7
better to make a copy than modify the const string
2004-12-06 01:06:15 +00:00
Doug MacEachern
e5582816c6
start disk i/o metrics
2004-12-05 01:18:57 +00:00
Doug MacEachern
93e7a04f89
fix bug under websphere4.0 jdk, key was not always null terminated
2004-11-23 00:22:53 +00:00
Doug MacEachern
46ba56bc17
add cpu.wait metric
2004-11-22 01:51:34 +00:00
Doug MacEachern
14f2e8811f
making the native method public and renaming to gather
2004-11-21 19:11:55 +00:00
Doug MacEachern
60865160cf
fix package name
2004-11-21 01:17:30 +00:00
Doug MacEachern
a77a94454f
share some utils
2004-11-20 21:02:39 +00:00
Doug MacEachern
6353b7bcc3
merging in the win32bindings package
2004-11-20 21:01:16 +00:00
Doug MacEachern
6e7e2a4b0d
add Mem.Actual{Free,Used}
2004-11-20 02:11:12 +00:00
Doug MacEachern
7eef781321
generate ThreadCpu class
2004-11-17 04:56:18 +00:00
Doug MacEachern
70e3f80232
converting NetAddr to string
2004-09-17 20:21:02 +00:00
Doug MacEachern
a733fa8a8b
use long pointer on osf
2004-09-06 17:58:57 +00:00
Doug MacEachern
c4b58c19bc
need to make pointer size adjustment from int to long at compile time only where needed.
2004-09-06 17:50:58 +00:00
Doug MacEachern
5f3deb8927
change sigar pointer field from int to long.
...
on tru64 size(void*) == 8 which does not fit into sizeof(int) == 4
2004-09-06 17:43:37 +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
ad85def2fb
map EACCES/ERROR_ACCESS_DENIED to SigarPermissionDeniedException
2004-08-18 15:46:34 +00:00
Doug MacEachern
c96ab5c880
map ERROR_FILE_NOT_FOUND to SigarFileNotFoundException on win32
2004-08-18 15:32:36 +00:00
Doug MacEachern
cfbbf3dfc7
use SigarNotImplementedException.INSTANCE
2004-08-14 04:45:42 +00:00
Doug MacEachern
c4153d2485
change throw_notimpl to throw_error
2004-08-14 04:26:42 +00:00
Doug MacEachern
f2150b270e
change sigar_throw_error to take jni_sigar_t param instead of sigar_t
2004-08-14 04:22:27 +00:00
Doug MacEachern
2896feb983
move getServicePid to the Sigar class so we get caching via SigarProxy
2004-08-14 00:40:37 +00:00
Doug MacEachern
bd8ecac6c5
add experiment win32-only extension for ptql to map windows service name to pid
2004-08-13 01:21:39 +00:00
Doug MacEachern
5bfb7910ba
doc updates
2004-07-21 23:29:48 +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
49782b4d05
List.add method returns boolean
2004-07-08 02:58:30 +00:00
Doug MacEachern
ee9cefd9e5
Logger methods are void return type (blew up on ibm jdk)
2004-07-06 18:04:37 +00:00
Doug MacEachern
efed7c955f
proc_modules wrapper
2004-06-22 06:13:26 +00:00
Doug MacEachern
dffe0da855
Initial revision
2004-06-21 22:37:04 +00:00