Commit Graph

3042 Commits

Author SHA1 Message Date
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
Doug MacEachern fde00170d7 support ptql query in Python proc_list 2011-06-15 14:47:29 -07:00
Doug MacEachern e0ef7a3616 propagate ptql error message to PyErr 2011-06-15 14:16:14 -07:00
Doug MacEachern 2f8090559e add Python ptql re op impl 2011-06-15 13:55:59 -07:00
Doug MacEachern 1f15289d75 add ptql support for Python 2011-06-15 09:19:04 -07:00
Doug MacEachern 7acf88a0bf add depends 2011-06-15 09:17:43 -07:00
Doug MacEachern fcdf809ef5 add net_route_list Python binding 2011-06-14 10:50:18 -07:00
Doug MacEachern dd8d2355cc add who_list Python binding 2011-06-14 10:49:17 -07:00
Doug MacEachern c1ee0a18b9 add proc_args Python binding 2011-06-14 10:48:30 -07:00