Commit Graph

190 Commits

Author SHA1 Message Date
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
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 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 6a806d1724 Merge branch 'sigar-1.6' 2010-04-21 15:44:48 -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 6c8e6e6d69 Merge branch 'sigar-1.6' 2010-03-31 10:53:55 -07:00
Doug MacEachern b2d33467b8 (SIGAR-210) recognize cifs as a network file system 2010-03-31 10:53:48 -07:00
Doug MacEachern 6bea72a540 (SIGAR-199) add arp_list_{create,grow,destroy} functions 2010-01-18 19:09:10 -08:00
Doug MacEachern 75c2671110 ARPHRD_CISCO not in 2.2 kernel headers 2009-08-15 22:22:54 -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 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
Doug MacEachern a77d7ef04f IFF_DYNAMIC not defined in linux 2.2 kernel 2009-08-12 10:07:08 -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
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 0e763c13e2 stub net_interface_config ipv6 support 2009-07-24 17:13:19 -07:00
Doug MacEachern ba079dc3c5 Merge branch 'sigar-1.6' 2009-07-17 14:16:53 -07:00
Doug MacEachern 8cef393365 (SIGAR-163) Recognize cvfs (StorNext) as local filesystem type 2009-07-17 14:16:42 -07:00
Doug MacEachern 930de473be Merge branch 'sigar-1.6' 2009-07-07 15:31:07 -07:00
Doug MacEachern e9e3dce323 rid -Wall arpa/inet.h:89: warning on FreeBSD 2009-07-07 15:30:45 -07:00
Doug MacEachern 14b916fdb6 Merge branch 'sigar-1.6' 2009-07-02 16:03:52 -07:00
Doug MacEachern 89b0b68ece (SIGAR-145) default to 'Irix mode' for proc_cpu.percent 2009-07-02 16:03:27 -07:00
Doug MacEachern 6d6b5577b1 (SIGAR-140) interface aliases are valid in sigar_net_interface_config_primary_get 2009-03-25 11:19:56 -07:00
Doug MacEachern 891f30bf0d (SIGAR-140) interface aliases are valid in sigar_net_interface_config_primary_get 2009-03-25 11:18:04 -07:00
Doug MacEachern 63141c38b9 rid mac os 10.5 warning: utmp is deprecated 2009-03-14 12:37:29 -07:00
Doug MacEachern 93afe26132 (SIGAR-138) Recognize zfs as local filesystem type 2009-02-08 18:08:27 -08:00
Doug MacEachern ede7b6c9de [SIGAR-129] add another sanity check 2009-02-06 13:46:27 -08:00
Doug MacEachern bf61ce78a9 [SIGAR-129] prevent possible wrapping 2009-02-06 13:46:16 -08:00
Doug MacEachern 0175e969e1 [SIGAR-129] prevent possible integer overflow 2009-02-06 13:45:56 -08:00
Doug MacEachern b0fad8130c compile again on FreeBSD 4 2008-07-19 23:00:29 +00:00
Doug MacEachern e94969339f [SIGAR-71] default to listing cpu cores 2008-05-24 21:32:42 +00:00
Doug MacEachern ab75320e8a [SIGAR-105] recognize vxfs as local filesystem type on all supported platforms 2008-05-16 00:33:50 +00:00
Doug MacEachern 6d7b04b6e8 use time_now_millis 2008-03-16 19:31:00 +00:00
Doug MacEachern d9e510494b start NetBSD port 2008-03-09 16:41:59 +00:00
Doug MacEachern 2959b4a4ea [SIGAR-83] skip comment lines in resolv.conf 2008-01-22 01:26:39 +00:00
Doug MacEachern 8a123d4d06 [SIGAR-81] Fix sigar_who_list for MacOSX Leopard 2008-01-13 18:49:13 +00:00
Doug MacEachern 3c35d5fb78 use sigar_t.pids 2007-12-21 22:45:59 +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 9775fe6400 [SIGAR-74] Properly initialize proc_cpu.percent 2007-11-11 15:57:07 +00:00
Doug MacEachern ac8f9541cd [SIGAR-71] option for cpu_list to report cores rather than sockets 2007-11-06 06:55:55 +00:00
Doug MacEachern 76beb87f73 move fsdev field to sigar_t 2007-11-04 16:29:19 +00:00