Commit Graph

211 Commits

Author SHA1 Message Date
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
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
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
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
b5cf0dbef4 (SIGAR-199) add arp decls 2010-01-18 19:09:10 -08:00
Doug MacEachern
43b5297178 Merge commit 'weigon/autotools-and-unittest' 2009-08-18 21:19:52 -07:00
Matthew Kent
7496b795e4 Merge branch 'master' into SIGAR-172 2009-08-13 23:41:53 -07:00
Matthew Kent
4fdcee3635 Tweaking based on feedback: default_interface gets a more appropriate name and
sigar_get_default_gateway now gathers both pieces of information.
2009-08-13 23:38:45 -07:00
Doug MacEachern
326d6085a2 Merge commit 'mdkent/SIGAR-178' 2009-08-13 15:34:37 -07:00
Doug MacEachern
bd93c22d14 Merge commit 'mdkent/SIGAR-174' 2009-08-13 14:51:51 -07:00
Doug MacEachern
f69a3c10e5 Merge commit 'mdkent/SIGAR-173' 2009-08-13 14:34:41 -07:00
Matthew Kent
09f3418c1a Add linux collection of cpu min/max.
Make cpu mhz default the current mhz.
2009-08-12 23:43:35 -07:00
Matthew Kent
ea3fcd5b45 Add more interface types from net-tools. 2009-08-10 00:29:23 -07:00
Matthew Kent
83996dda13 Add per interface support for tx_queue_len, Linux only.
Update the ifconfig example output.
2009-08-09 15:20:25 -07:00
Jan Kneschke
d65177559d fixed the autotools setup
* fixed compile on all Unixes
  * added unit-tests
  * added cmake to build natively on win32
  * fixed the "make dist" setup to include all os-dirs
2009-08-09 15:35:24 +02:00
Matthew Kent
d9f37b39a4 Collect the default interface as part of net_info_get. 2009-08-09 02:13:45 -07:00
Matthew Kent
cfae297d9b Add IFF_DYNAMIC support for Linux.
Support in the ruby binding.
2009-08-08 14:44:58 -07:00
Matthew Kent
4d19f54b94 Finish support for IFF_SLAVE and add IFF_MASTER.
Support both in ruby binding.
2009-08-04 22:27:13 -07:00
Doug MacEachern
75b83e6cf5 add sigar_net_scope_to_string 2009-07-29 16:07:09 -07:00
Doug MacEachern
54d1ee7cff add some ipv6 related macros 2009-07-29 15:13:25 -07:00
Doug MacEachern
0da8e9d95f prefix|scope .= 6 2009-07-25 08:09:53 -07:00
Doug MacEachern
9d50d859bf add IPV6_ADDR constants 2009-07-25 07:39:42 -07:00
Doug MacEachern
0e763c13e2 stub net_interface_config ipv6 support 2009-07-24 17:13:19 -07:00
Doug MacEachern
cb8eb6b183 Merge branch 'SIGAR-148' 2009-05-21 17:11:37 -07:00
Doug MacEachern
94b3f884a2 (SIGAR-148) add generic sigar_statvfs built with LFS flags 2009-05-21 14:25:46 -07:00
Doug MacEachern
16786fb95f [SIGAR-118] change file_system dev and dir names to length PATH_MAX 2008-08-12 00:48:54 +00:00
Doug MacEachern
836a725c86 add version description 2008-08-12 00:05:03 +00:00
Doug MacEachern
34333d64e8 include svn revision in version properties 2008-08-10 18:59:53 +00:00
Doug MacEachern
51dd062f7e [SIGAR-106] rename cpu steal -> stolen 2008-05-28 18:14:00 +00:00
Doug MacEachern
9a1f45cd7b [SIGAR-106] Add cpu irq, soft_irq and steal 2008-05-24 15:12:06 +00:00
Doug MacEachern
91287c0598 more disk_init fields 2008-04-26 23:32:09 +00:00
Doug MacEachern
380fdc4fbb make disk.queue a double, add qtime 2008-04-26 23:20:52 +00:00
Doug MacEachern
51b607866f add cpu_info.cores_per_socket 2008-04-11 17:46:36 +00:00
Doug MacEachern
a3364ec38d handle the case where VM guest may have 1 virtual ncpu on multicore hosts 2008-04-11 03:28:33 +00:00
Doug MacEachern
2b9c8971e0 move cpuid from os/linux to sigar_util for use on other platforms 2008-04-09 06:29:08 +00:00
Doug MacEachern
187df2f462 add total_cores and total_sockets to sigar_cpu_info_t 2008-04-09 04:38:02 +00:00
Doug MacEachern
3cf07fbb30 move sigar_dlinfo_modules to util for use with FreeBSD 2008-04-04 18:39:42 +00:00
Doug MacEachern
d826684c33 [SIGAR-92] Add memory free and used in percentage units 2008-04-03 04:45:28 +00:00
Doug MacEachern
208714be01 add strcasestr util 2008-03-26 21:29:17 +00:00
Doug MacEachern
71fdbb13e2 strcase wrappers 2008-03-26 21:17:10 +00:00
Doug MacEachern
15f7996b8a add sigar_time_now_millis util 2008-03-16 19:19:35 +00:00
Doug MacEachern
26d071a6cb reusing SIGAR_NAME_IS_DEV macro 2008-03-16 02:21:25 +00:00
Doug MacEachern
67f94cc5a8 add generic filesystem name -> device mapping 2008-03-16 01:54:24 +00:00
Doug MacEachern
043afd2608 native version of CpuPerc.java 2008-03-12 06:20:43 +00:00
Doug MacEachern
f51eac00b2 [SIGAR-86] Add options field to sigar_file_system_t 2008-02-11 04:07:31 +00:00
Doug MacEachern
71635f2c1c Add sigar_proc_list_t to sigar_t for internal re-use 2007-12-21 22:42:31 +00:00
Doug MacEachern
f329124437 Add macro to convert nanoseconds to milliseconds 2007-12-13 06:18:06 +00:00