Commit Graph

3050 Commits

Author SHA1 Message Date
tgoldman 7a6aefc7fb Fix [SIGAR-253]- Remove a space from else if condition 2015-08-17 09:39:01 +03:00
BoazHarel 48ba690dd4 With Tomer.
Optimizing the performance counter queries on win32.

splitted performance counters cache to caches per counter_key.
2015-07-20 11:44:50 +03:00
Boaz 341e288e98 With Tomer.
Optimizing the performance counter queries on win32.

There is now a cache for 1 second to all performance counter data.
2015-07-16 16:11:16 +03:00
tgoldman 0928a780f4 Fix [SIGAR-252] - Add support for discovering Windows 2012 R2 2015-07-01 12:02:42 +03:00
Zvika Idelsberg 706f352e56 removing Override annotations 2015-03-25 04:25:43 -06:00
Zvika Idelsberg 6d4ff51b9c fix bug 1361953(bugzilla)/HQ-4820(jira) - changing the way MultiProcess cpu usage(%) is calculated 2015-03-25 03:40:28 -06:00
Doug MacEachern 236006e02d Bump ruby gem version to 0.7.3
Fixes github issue #49
2014-10-30 14:09:38 -07:00
Doug MacEachern 18c2856f75 nfs.h needs sys/socket.h 2014-10-30 11:00:40 -07:00
David Zhao 13bcf8ae45 Moving sigar includes until after system. Fixes compilation on Xcode 6.1 2014-10-06 16:14:45 -07:00
hananaharonof b89060c481 Merge pull request #46 from hyperic/i18n
Some metrics are missing the '/sec' suffix. This fix first tries to add
2014-09-03 14:12:38 +03:00
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
nira11 189843858e Merge pull request #33 from nettag/master
disk io per process, and a few bug fixes
2013-10-06 02:27:13 -07:00
tgoldman 47f01e0177 [SIGAR-248]- Sigar log monitoring ignores successive lines with same timestamp 2013-09-30 10:53:08 +02:00
nira11 6ed8f3c9b5 c on win compatability poblems 2013-09-15 14:14:42 +00:00
nira11 924c4c7476 removed; 2013-09-15 13:54:49 +00:00
nira11 07b221a253 disk io works using cache - also pid cache cleanup and pid cache dump 2013-09-15 12:00:23 +00:00
nira11 f2ba707d9f sigar hpux - disk io fix 2013-08-27 11:37:22 +00:00
nira11 6508b09304 disk io on aix 2013-08-18 11:45:47 +00:00
nira11 64f32dd125 solaris disk io 2013-08-18 08:24:25 +00:00
nira11 aee1d82fae disk io hpux 2013-08-14 10:20:58 +00:00
root 5a1d5e75f1 show windoes 2012 2013-08-12 09:34:24 +00:00
nettag f15aa84dfe Fixed TestProcDiskIO
Added bytesTotal and some more verification.
2013-08-04 16:41:36 +03:00
nettag 0d91f7d6a4 Added total disk IO metric 2013-08-04 16:19:41 +03:00
nettag b13b8dcbbb Implemented empty sigar_proc_disk_io_get on unsupported systems, to avoid breaking compilation. 2013-07-30 16:22:40 +03:00
Netta Gavrieli 273889f827 Implemented process disk IO metrics on Windows 2013-07-30 06:04:06 -07:00
nettag a62558af50 Added Sigar.getProcDiskIO to Java API on Linux
Returns the total bytes read and written for a process using /proc/pid/io.
2013-07-30 10:37:01 +03:00
Netta Gavrieli ec489fb336 Java - Fixed loading native libraries from paths that contain international characters.
This fixes Hyperic bug https://jira.hyperic.com/browse/HQ-4227
2013-07-30 10:22:50 +03:00
Martin Englund 907fe7a87f Merge pull request #24 from ville-k/master
OSX 10.8 - fix building java bindings
2013-05-08 09:00:57 -07:00
Martin Englund 83fbcbeb4e Merge pull request #11 from EdSchouten/master
Make utmp-handling more standards-compliant.
2013-05-08 08:30:09 -07:00
Ville Kallioniemi a20ec372b7 Fix building java bindings on Mac OSX 10.8
* look for SDKs in their new location inside the
  application bundle of XCode
2012-10-28 14:27:00 -06:00
Doug MacEachern 91aead2fd3 fix gemspec files filter 2012-03-26 16:24:27 -07:00
Doug MacEachern 965051cdcf fix build with XCode 4.3
- avoid use of FlatCarbon headers

- remove sysroot/syslibroot

- fix gemspec files attribute
2012-03-26 15:23:42 -07:00
Ed Schouten 67b476efe0 Make utmp-handling more standards-compliant.
As utmpx is standardized by POSIX, first attempt to access the utmpx
database using the standard getutxent() function. If we don't have
utmpx, fall back to some simple utmp code that accesses the database
manually.

This code has been compile-tested on FreeBSD 8 (utmp), FreeBSD 9 (utmpx)
and Ubuntu Linux 11.10 (utmpx).
2011-12-07 23:57:05 +01:00
Doug MacEachern edf041dc7a Merge branch 'sigar-1.6' 2011-07-18 10:51:02 -07:00
Doug MacEachern a04f46a647 [SIGAR-233] Update sys_info API to recognize MacOSX 10.7 as 'Lion' 2011-07-18 10:50:53 -07: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 f21897f93b [SIGAR-231] increase getpwuid_r buffer size 2011-07-18 10:12:42 -07:00
Doug MacEachern 710a3f791b update NOTICE file 2011-07-18 10:05:52 -07:00
Doug MacEachern b88fb7c0c7 Merge branch 'sigar-1.6' 2011-07-08 13:26:45 -07:00
Doug MacEachern 510a4b5c89 no longer support building with 1.4 jdk 2011-07-08 13:26:37 -07:00
Ian Eure 4c76ea27c5 Update .gitignore. 2011-07-08 13:03:45 -07:00
Doug MacEachern 44a4062111 update files to clean 2011-07-08 13:03:11 -07:00
Ian Eure 8bd48cc477 Fix stupid build issues. 2011-07-08 12:48:21 -07:00
Doug MacEachern ce23dbeec7 add unit tests 2011-06-28 17:29:26 -07:00
Doug MacEachern 5619873f02 expose sigar_version to Python 2011-06-20 16:53:17 -07:00
Doug MacEachern 73b0850a52 add net_stat Python binding 2011-06-15 15:53:39 -07:00
Doug MacEachern 129062d9cd add net_connection_list Python binding 2011-06-15 15:35:21 -07:00
Doug MacEachern cb1e4f491d add proc_env Python binding 2011-06-15 15:24:03 -07:00
Doug MacEachern de81b90497 add cpu list Python bindings 2011-06-15 14:59:31 -07:00