Commit Graph

3028 Commits

Author SHA1 Message Date
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
mdoboi 0a3f546638 add noLog4jDefaultConf parameter 2011-04-22 14:51:23 +02:00
Doug MacEachern 58097d9743 bump copyright.year 2011-04-21 11:38:36 -07:00
Doug MacEachern b44692d8e6 Merge branch 'sigar-1.6' 2011-04-21 11:37:54 -07:00
Doug MacEachern a693ebce90 bump version 2011-04-21 11:37:46 -07:00
Doug MacEachern 216a2df541 Merge branch 'sigar-1.6' 2011-04-21 11:36:36 -07:00
Doug MacEachern 2d2c4c996d [SIGAR-230] bump windows proc_args max to 16k 2011-04-21 11:36:26 -07:00
Doug MacEachern e09ad13a16 unify DLLMOD_ macros for ms and gnu 2011-04-21 09:58:45 -07:00
Doug MacEachern 59aeadaef2 SIGAR_NETIF_NAME_SHORT=1 env var will use the old eth%d names in sigar_net_interface_list_get 2011-04-12 15:28:01 -07:00
Doug MacEachern 73c3c287f7 use stack buffer instead of heap for sigar_net_interface_name_get 2011-04-12 15:16:58 -07:00
Doug MacEachern 4655d5e3df untabify/style 2011-04-12 15:06:33 -07:00
Doug MacEachern cef810dafb don't use sigar->ifconf_buf in sigar_get_adapters_addresses 2011-04-12 15:03:06 -07:00
Doug MacEachern 240649b925 fixes to compile on MSVC again 2011-04-11 15:04:14 -07:00
Adam Stokes 7041d070f1 - Update list network interfaces win32 variant
Some utilities such as netsh require a friendly name when doing
  any administrative tasks such as stop/start network interfaces.
  Currently sigar list network interfaces as 'ethX, lo, laX'. This
  is fine for read only purposes but in order to make further use
  of the network interfaces on windows we need a friendlyname or at
  least the interface description.
2011-04-11 11:26:33 -07:00
Adam Stokes 8337f13d6c Patch to allow mingw32 compilation 2011-04-11 11:26:32 -07:00