Commit Graph

2971 Commits

Author SHA1 Message Date
Martin Englund 83fbcbeb4e Merge pull request #11 from EdSchouten/master
Make utmp-handling more standards-compliant.
2013-05-08 08:30:09 -07: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
Doug MacEachern 9b8ec6ec5a Merge branch 'sigar-1.6' 2011-04-08 13:03:40 -07:00
Doug MacEachern 639169e9cc [SIGAR-228] increase buflen for gethostbyname_r 2011-04-08 13:03:32 -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