Commit Graph

1445 Commits

Author SHA1 Message Date
Linus Sellberg ad39547629 Fix compilation on macos. 2020-10-02 14:55:03 +02:00
Konstantin Makarchev a2c67588d0 fix compilation with glibc 2.26, major/minor functions, fixed #2
compilation error was:
  linux_sigar.c:1156:22: error: called object ‘major’ is not a function or function pointer
  linux_sigar.c:1157:22: error: called object ‘minor’ is not a function or function pointer
2018-06-10 07:46:09 +03:00
Konstantin Makarchev dfe8fece17 fix bug undefined symbol: sigar_skip_token, fixed #60 2018-01-22 12:50:15 +03:00
Konstantin Makarchev c2a1af3c25 remove unused sigfaulted logger, fixed #28 2018-01-22 12:48:49 +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
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
tgoldman 47f01e0177 [SIGAR-248]- Sigar log monitoring ignores successive lines with same timestamp 2013-09-30 10:53:08 +02:00
nira11 07b221a253 disk io works using cache - also pid cache cleanup and pid cache dump 2013-09-15 12:00:23 +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
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
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 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
Doug MacEachern edf041dc7a Merge branch 'sigar-1.6' 2011-07-18 10:51:02 -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 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
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
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
Dan Sully adfb6d4d0a Add proc_list to Python bindings. 2011-04-08 10:51:32 -07:00
Dan Sully e0c289a34c Add loadavg to Python bindings. 2011-04-08 10:51:20 -07:00
Doug MacEachern 436ceb351a Merge branch 'sigar-1.6' 2011-04-08 10:49:37 -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 f2aef38d02 escape colon in process ObjectName 2011-04-08 10:25:05 -07:00
Doug MacEachern 78f5683bfc remove dynamic runtime flag on ruby win32 2010-05-28 08:59:09 -07:00
Doug MacEachern 619e639eca fix rescue in file_system_test.rb 2010-05-28 08:58:54 -07:00
Doug MacEachern d20d75908d link in sigar.res on win32 2010-05-28 08:23:32 -07:00
Doug MacEachern 642df76807 add resource_file helper to generate sigar.rc 2010-05-28 08:23:08 -07:00
Doug MacEachern 282c008aea Merge branch 'sigar-1.6' 2010-05-20 11:48:15 -07:00