Wolfgang Wedelich-John
8b887b2380
Fixing build issue on newer linux and alos issue with newer Ruby
2024-09-10 12:58:09 +02:00
Konstantin Makarchev
49a9aeeff5
remove nfsstat methods on osx, because seems it not used, this should fix #11
...
TODO: return is back, if fix would be finded
2021-10-30 21:02:07 +03:00
Konstantin Makarchev
b78b558fb7
fixed #10 , apply path from https://svnweb.freebsd.org/ports/head/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c?r1=438996&r2=544794
2021-06-28 11:59:40 +03:00
Konstantin Makarchev
2bb67fa1bf
apply freebsd12 compilation patch ( #6 )
...
https://svnweb.freebsd.org/ports/head/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c?revision=438996&view=markup
2019-01-18 09:21:16 +03:00
Kostya M
d88f2121b8
Merge pull request #4 from jcoyne/patch-1
...
Fix compilation with musl libc
2018-12-02 22:33:16 +03:00
Natanael Copa
621764c13d
only enable the GNU libc strerror_r on GNU libc
...
We don't want use the non-standard GNU libc variant of strerror_r on
musl libc, or any libc other than GNU.
2018-11-30 22:34:24 -06:00
Natanael Copa
cd07923dd2
fix compilation with musl libc
...
the HZ define is not exposed by musl libc.
2018-11-30 22:33:49 -06: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
a971b9e8e1
Remove obsolete rpc usage
...
Fix compilation fail with glibc 2.27.
The latest version of glibc (2.27 at this time)
is compiled without --enable-obsolete-rpc flag.
2018-05-30 13:29:40 +03:00
O_o
e9897b25b4
Merge pull request #1 from baughj/master
...
FreeBSD: don't use v_cache_min/max
2018-04-10 19:24:52 +03:00
Justin Baugh
800076db97
FreeBSD: don't use v_cache_min/max ( https://github.com/hyperic/sigar/pull/68 )
2018-04-10 09:02:28 -07:00
Konstantin Makarchev
660259e572
fixed sigar_boot_time_get for linux, to work as gnu ps, this fixed some problems with start_time detection
2018-01-22 12:51:24 +03:00
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
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
nira11
6ed8f3c9b5
c on win compatability poblems
2013-09-15 14:14:42 +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
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
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
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
f21897f93b
[SIGAR-231] increase getpwuid_r buffer size
2011-07-18 10:12:42 -07:00
Ian Eure
8bd48cc477
Fix stupid build issues.
2011-07-08 12:48:21 -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
833ca18ecf
Merge branch 'sigar-1.6'
2010-09-07 12:41:17 -07:00
Doug MacEachern
b8c6325123
[SIGAR-224] report 'nfs4' file system mounts as type network
2010-09-07 12:41:05 -07:00
Doug MacEachern
8016dbe364
GPL v2 license -> Apache 2 license
...
(grit-generated)
2010-04-28 15:08:39 -07:00
Doug MacEachern
4fe3feb198
Merge branch 'sigar-1.6'
...
Conflicts:
bindings/java/src/org/hyperic/sigar/jmx/SigarCpu.java
bindings/java/src/org/hyperic/sigar/jmx/SigarCpuInfo.java
bindings/java/src/org/hyperic/sigar/jmx/SigarCpuPerc.java
bindings/java/src/org/hyperic/sigar/jmx/SigarLoadAverage.java
bindings/java/src/org/hyperic/sigar/jmx/SigarMem.java
bindings/java/src/org/hyperic/sigar/jmx/SigarSwap.java
bindings/ruby/examples/cpu_info.rb
bindings/ruby/examples/df.rb
bindings/ruby/examples/free.rb
bindings/ruby/examples/ifconfig.rb
bindings/ruby/examples/netstat.rb
bindings/ruby/examples/pargs.rb
bindings/ruby/examples/penv.rb
bindings/ruby/examples/who.rb
2010-04-28 15:03:12 -07:00