Commit Graph

2529 Commits

Author SHA1 Message Date
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 61837690b9 1.6.4 change summary 2010-04-28 15:37:31 -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 1a9dfe999e GPL v2 license -> Apache 2 license 2010-04-28 15:20:57 -07:00
Doug MacEachern 99c4228cad LICENSES -> NOTICE 2010-04-28 15:19:57 -07:00
Doug MacEachern c9d4bf9758 no longer applies 2010-04-28 15:19:31 -07:00
Doug MacEachern 73f9b8cf84 GPL v2 license -> Apache 2 license
(grit-generated)
2010-04-28 14:57:11 -07:00
Doug MacEachern 1c9b45eab1 (SIGAR-188) implement mem actual free/used on Windows
This rev uses "System Cache Resident Bytes" aka file cache instead of PERFORMANCE_INFORMATION.SystemCache
2010-04-28 11:09:32 -07:00
Doug MacEachern bb122cc1e4 fix Actual{Free,Used} assertions 2010-04-28 11:05:06 -07:00
Doug MacEachern 54ef26bab6 Revert "(SIGAR-188) implement mem actual free/used on Windows"
This reverts commit e4fda73a29.
2010-04-28 10:57:08 -07:00
Doug MacEachern b40013def1 (SIGAR-215) use swapctl SC_LIST for Solaris swap_get impl 2010-04-27 16:09:26 -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 647f3d32c3 apply value_free to PTQL_VALUE_TYPE_ANY 2010-04-21 13:54:03 -07:00
Doug MacEachern 4b9e309c8b close_mib2 in sigar_os_close 2010-04-21 13:51:12 -07:00
Doug MacEachern 0bee437f85 don't set procargs.size = 0 else destroy won't free 2010-04-21 13:50:30 -07:00
Doug MacEachern 6259451277 leave proc_args_destroy to the caller 2010-04-21 13:49:24 -07:00
Doug MacEachern bbc21090a1 proc_args_destroy if os_proc_args_get != SIGAR_OK 2010-04-21 13:48:10 -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 277b80791c mv stub to sigar-stuff 2010-04-15 13:49:44 -07:00
Doug MacEachern 56e03d7243 osf1 no longer supported 2010-04-15 13:48:22 -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 788c125c68 no longer using hpux dlpi 2010-04-15 13:30:20 -07:00
Doug MacEachern 5324c6f235 mv to sigar-stuff 2010-04-15 13:21:47 -07:00
Doug MacEachern 745508e3c0 update eclipse project classpath 2010-04-15 11:18:25 -07:00
Doug MacEachern 5f77c77158 remove unused header 2010-04-15 11:02:19 -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 6c1f0a9871 (SIGAR-192) avoid possible stack corruption in Windows proc_env impl 2010-04-14 13:55:57 -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 9fb759fb17 mv tools/PerfBrowser http://github.com/dougm/csharp-perfbrowser 2010-04-08 13:45:57 -07:00
Doug MacEachern 9dbbcce60a mv exp/ http://github.com/dougm/sigar-stuff 2010-04-08 13:45: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 7f4a3a3fd4 (SIGAR-188) implement mem actual free/used on HPUX 2010-04-07 13:23:58 -07:00
Doug MacEachern 127099cd34 (SIGAR-188) implement mem actual free/used on AIX 2010-04-07 11:12:00 -07:00
Doug MacEachern d3acf798d5 (SIGAR-188) implement mem actual free/used on OpenBSD and NetBSD 2010-04-05 16:30:15 -07:00
Doug MacEachern 1ba3abd3ab (SIGAR-188) implement mem actual free/used on Solaris 2010-04-05 15:51:47 -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 b1da05dbe0 (SIGAR-212) pass LANG_ENGLISH to FormatMessage in Windows sigar_strerror impl 2010-04-02 15:50:55 -07:00
Doug MacEachern e4fda73a29 (SIGAR-188) implement mem actual free/used on Windows 2010-04-01 17:36:46 -07:00
Trevor Pounds f27542af5b (SIGAR-202)
Change CreateFile() access flags to prevent potential inode calculation
   errors on Windows when tailing a file.

   see: http://forums.hyperic.com/jiveforums/thread.jspa?messageID=30400
2010-04-01 16:37:11 -07:00