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
Doug MacEachern
73f9b8cf84
GPL v2 license -> Apache 2 license
...
(grit-generated)
2010-04-28 14:57:11 -07:00
Doug MacEachern
37c22746b2
Merge branch 'sigar-1.6'
2010-04-28 11:10:57 -07:00
Doug MacEachern
1c9b45eab1
(SIGAR-188) implement mem actual free/used on Windows
...
This rev uses "System Cache Resident Bytes" aka file cache instead of PERFORMANCE_INFORMATION.SystemCache
2010-04-28 11:09:32 -07:00
Doug MacEachern
54ef26bab6
Revert "(SIGAR-188) implement mem actual free/used on Windows"
...
This reverts commit e4fda73a29
.
2010-04-28 10:57:08 -07:00
Doug MacEachern
1f7f641473
Merge branch 'sigar-1.6'
2010-04-27 16:09:48 -07:00
Doug MacEachern
b40013def1
(SIGAR-215) use swapctl SC_LIST for Solaris swap_get impl
2010-04-27 16:09:26 -07:00
Doug MacEachern
6a806d1724
Merge branch 'sigar-1.6'
2010-04-21 15:44:48 -07:00
Doug MacEachern
647f3d32c3
apply value_free to PTQL_VALUE_TYPE_ANY
2010-04-21 13:54:03 -07:00
Doug MacEachern
4b9e309c8b
close_mib2 in sigar_os_close
2010-04-21 13:51:12 -07:00
Doug MacEachern
0bee437f85
don't set procargs.size = 0 else destroy won't free
2010-04-21 13:50:30 -07:00
Doug MacEachern
6259451277
leave proc_args_destroy to the caller
2010-04-21 13:49:24 -07:00
Doug MacEachern
bbc21090a1
proc_args_destroy if os_proc_args_get != SIGAR_OK
2010-04-21 13:48:10 -07:00
Doug MacEachern
21a7b096d5
rm hpux/dlpi.c
2010-04-15 14:20:01 -07:00
Doug MacEachern
4a0dc0cef3
Merge branch 'sigar-1.6' into cleanup
...
Conflicts:
bindings/SigarWrapper.pm
src/os/netware/Makefile.nw
src/os/netware/netware_sigar.c
src/os/osf1/osf1_sigar.c
src/os/stub/stub_sigar.c
2010-04-15 14:14:38 -07:00