unknown
4fcaa226bd
Some metrics are missing the '/sec' suffix. This fix first tries to add
...
the counter without the '/sec' and if fails, try again with it. If the
second call fails, throw an exception.This issue must be addressed at the
java level (and not C code), since the counter names must be translated
before to support i18n native OS locals.
Please also note, the C code (at Pdh.c), tries to do the same, but at
this level we cannot use the translation mechanism the Java level offers,
hence this fix won't handle non-English i18n locals.
2014-09-03 13:22:19 +03:00
Doug MacEachern
4b67f577f4
add AUTHORS file
2010-04-28 16:19:25 -07:00
Doug MacEachern
2378412774
GPL v2 license -> Apache 2 license
...
(grit-generated)
2010-04-28 15:29:15 -07:00
Doug MacEachern
3774ce96fa
adjust to file renames
2010-04-28 15:24:17 -07:00
Doug MacEachern
73f9b8cf84
GPL v2 license -> Apache 2 license
...
(grit-generated)
2010-04-28 14:57:11 -07:00
Doug MacEachern
bb122cc1e4
fix Actual{Free,Used} assertions
2010-04-28 11:05:06 -07:00
Doug MacEachern
30e8d0e2c1
fix ProcCpu.getPercent assertion per SIGAR-145
2010-04-21 15:20:05 -07:00
Doug MacEachern
b3078dca91
bring back closeSigar() call in shutdown (commented out in cd42290
)
2010-04-21 15:02:01 -07:00
Doug MacEachern
a5dacd4d03
clear ProcessQueryFactory and Humidor instances on shutdown
2010-04-21 13:56:25 -07:00
Doug MacEachern
8cd05ddc64
mv ProcessQueryFactory.clear calls to tearDown()
2010-04-21 13:55:01 -07:00
Doug MacEachern
c9ef9f4bb6
add close() method
2010-04-21 13:47:06 -07:00
Doug MacEachern
aa2cbaa89b
System.getenv throws Error in 1.4 jre
2010-04-16 11:01:02 -07:00
Doug MacEachern
5d79c359d4
netware no longer supported
2010-04-15 13:46:19 -07:00
Doug MacEachern
f272cb2b5d
netware no longer supported
2010-04-15 13:40:54 -07:00
Doug MacEachern
745508e3c0
update eclipse project classpath
2010-04-15 11:18:25 -07:00
Doug MacEachern
c46af75d74
(SIGAR-201) JNIEnv->ExceptionCheck to avoid possible SEGV on OutOfMemoryError
2010-04-15 10:55:09 -07:00
Doug MacEachern
55002f1930
(SIGAR-213) check ENV.ANT_HOME/lib for junit in Main-Class
2010-04-14 13:46:28 -07:00
Doug MacEachern
4227bf6ab9
(SIGAR-214) properly adjust jni.javahome when JAVA_HOME is not set
2010-04-09 09:01:13 -07:00
Doug MacEachern
9ce6361973
cpptasks patches moved to http://github.com/dougm/ant-contrib-cpptasks
2010-04-08 13:50:42 -07:00
Doug MacEachern
b94783b9ad
s,env.ANT_HOME/lib,ant.library.dir
2010-04-08 09:41:45 -07:00
Doug MacEachern
cd422901c9
(SIGAR-213) remove junit.jar from distribution
2010-04-07 21:23:56 -07:00
Doug MacEachern
6a0cd93cf5
fix rev-parse when not on a local branch
2010-04-04 10:25:58 -07:00
Doug MacEachern
21a09f23d4
roll our own 'git rev-parse --short HEAD'
2010-04-03 12:41:06 -07:00
Doug MacEachern
29c96e2343
(SIGAR-207) append instance index in Pdh.getInstances()
2010-04-01 14:53:25 -07:00
Doug MacEachern
2dc981dfa8
(SIGAR-207) Add Pdh.getCounterType method
2010-03-31 14:54:25 -07:00
Doug MacEachern
7905904cb6
(SIGAR-207) Add Pdh.getDescription method
2010-03-31 13:17:02 -07:00
Doug MacEachern
e20e2eaa54
add -i (inode format) support to df command
2010-02-09 18:01:34 -08:00
Doug MacEachern
035a097325
only display event code in toString as the Event Viewer does
2009-11-09 16:45:06 -08:00
Doug MacEachern
e86a150a8d
'N/A' for null user in EventLogRecord.toString
2009-11-09 16:34:31 -08:00
Doug MacEachern
32512cde90
include the same fields as Event Viewer in EventLogRecord.toString
2009-11-09 16:30:47 -08:00
Doug MacEachern
9cc30ca006
(SIGAR-191) fix EventLogRecord.computerName
2009-11-09 16:27:22 -08:00
Doug MacEachern
3e4a408f74
(SIGAR-190) add category to EventLogRecord
2009-11-09 16:17:37 -08:00
Doug MacEachern
a96bd1bc04
Pdh test adjustments for windows 2000
2009-10-23 14:52:51 -07:00
Doug MacEachern
32040563ce
(SIGAR-185) fix RegistryKey open on windows 2000
2009-10-23 14:50:29 -07:00
Doug MacEachern
0d3d5e45da
hpux pa 64-bit support
2009-09-30 15:46:36 -07:00
Doug MacEachern
55167b6ebe
64-bit MacOSX 10.6 sdk does not support ppc64, switch from universal build to i386 only
2009-09-17 11:48:31 -07:00
Doug MacEachern
cb1f3dafe7
fix MacOSX10.6.sdk build issues
2009-09-08 21:50:10 -07:00
Doug MacEachern
315c8474d9
fix Mac SDK selection
2009-09-02 17:48:38 -07:00
Doug MacEachern
6500952e5b
use ArchNameTask to configure darwin sdk
2009-09-02 17:48:19 -07:00
Doug MacEachern
5fb1bcdb15
include src/os/*.cpp
2009-08-05 13:47:13 -07:00
Doug MacEachern
1039b12396
remove pdh.dll (only used on NT 4.0)
2009-07-14 17:22:11 -07:00
Doug MacEachern
d4ac7f1ecf
bump version to 1.6.4
2009-07-13 15:18:20 -07:00
Doug MacEachern
7d483e3982
Humidor test
2009-07-08 15:59:24 -07:00
Doug MacEachern
ce39c1ad1e
support for caller constructed Sigar object
2009-07-08 15:28:49 -07:00
Jon Travis
22e9e06b9d
(SIGAR-150) Wrapper class to synchronize Sigar method invocation
...
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
2009-07-08 14:56:11 -07:00
Doug MacEachern
3f3a070045
add getNetServicesName to SigarProxy interface
2009-07-07 15:36:37 -07:00
Doug MacEachern
621f9ccb61
Merge branch 'sigar-1.6' of git@github.com:hyperic/sigar into sigar-1.6
2009-06-30 16:11:28 -07:00
Doug MacEachern
4f223cc4d6
(SIGAR-152) Add support for 31-bit s390 builds
2009-06-30 16:01:57 -07:00
Doug MacEachern
b3abdd5a53
(SIGAR-151) Add Modules support to PTQL
2009-06-06 08:38:06 -07:00
Doug MacEachern
5ac96fb803
make SigarProxyCached.invoke synchronized
2009-05-15 16:58:33 -07:00