Commit Graph

1075 Commits

Author SHA1 Message Date
unknown 494ed4ed3e 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 14:26:02 +03:00
root f12b8e32d3 process args and query (ptql) string - support dbcs for windows 2013-11-04 12:07:38 +00:00
root 9c931654d7 (German) support for getting a set of formatted metrics 2013-10-22 07:33:06 +00:00
root 797d8a9edf adding disk io per process and bug fixes 2013-10-09 07:59:48 +00:00
Netta Gavrieli 449de48cea Java - Fixed loading native libraries from paths that contain international characters.
This fixes Hyperic bug https://jira.hyperic.com/browse/HQ-4227
2013-10-06 10:13:21 +00:00
Doug MacEachern d83284613b [SIGAR-232] change ProcUtil.getJavaMainClass to check Character.isJavaIdentifierPart 2011-07-18 10:47:57 -07:00
Doug MacEachern 012dcef75d Merge remote-tracking branch 'mimesis/noLog4jDefaultConf_param' into sigar-1.6 2011-07-18 10:14:48 -07:00
Doug MacEachern 510a4b5c89 no longer support building with 1.4 jdk 2011-07-08 13:26:37 -07:00
mdoboi 0a3f546638 add noLog4jDefaultConf parameter 2011-04-22 14:51:23 +02:00
Doug MacEachern a693ebce90 bump version 2011-04-21 11:37:46 -07:00
Trevor Pounds 8a4c9f6eb0 (SIGAR-227) fix to prevent missing file(s) from aborting add operation prematurely 2011-04-08 10:49:27 -07:00
Trevor Pounds 87f0aa7f6f (SIGAR-226) fix missing *.cpp files from source archive 2011-04-08 10:48:38 -07:00
Doug MacEachern 692f5a43ea fix invalid who.user assertion on win32 2011-04-08 10:48:14 -07:00
Doug MacEachern d1a4f8e55e (SIGAR-217) fix EventLog change detection for the Security log case 2010-05-20 11:48:08 -07:00
Doug MacEachern ef5317a2da (SIGAR-217) win32.EventLogThread needs to re-open EventLog if it has been cleared 2010-05-19 11:36:31 -07:00
Ian Springer e43244a6e9 (SIGAR-216) avoid ArrayIndexOutOfBoundsException in Sigar.getCpuPercList() when number of CPUs has decreased 2010-05-13 10:13:45 -07:00
Doug MacEachern 4e0b8c02d0 bump version to 1.6.5 2010-05-13 09:20:24 -07: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 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