Commit Graph

172 Commits

Author SHA1 Message Date
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
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
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
nira11
07b221a253 disk io works using cache - also pid cache cleanup and pid cache dump 2013-09-15 12:00:23 +00:00
nettag
0d91f7d6a4 Added total disk IO metric 2013-08-04 16:19:41 +03: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
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
9847f6a454 (SIGAR-199) arp_list linux impl 2010-01-18 19:09:11 -08:00
Doug MacEachern
ecd0ad6ab8 (SIGAR-199) stub sigar_arp_list_get impls 2010-01-18 19:09:10 -08: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
Doug MacEachern
0da8e9d95f prefix|scope .= 6 2009-07-25 08:09:53 -07:00
Doug MacEachern
7c5e4e3a3b linux net_interface_ipv6_config impl 2009-07-24 17:46:56 -07:00
Doug MacEachern
0e763c13e2 stub net_interface_config ipv6 support 2009-07-24 17:13:19 -07:00
Doug MacEachern
49e769bbd8 Merge branch 'sigar-1.6' 2009-07-18 18:44:26 -07:00
Doug MacEachern
90c2b19127 (SIGAR-164) return ENXIO instead of ENOENT in disk_usage linux impl 2009-07-18 18:43:39 -07:00
Doug MacEachern
cb8eb6b183 Merge branch 'SIGAR-148' 2009-05-21 17:11:37 -07:00
Doug MacEachern
376409a403 (SIGAR-148) use sigar_statvfs 2009-05-21 14:26:34 -07:00
Doug MacEachern
3025c4554f (SIGAR-139) support scripted SIGAR_PROC_NET for testing 2009-03-12 21:30:50 -07:00
Doug MacEachern
bc3e8ed6d4 (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' 2009-02-10 13:52:03 -08:00
Doug MacEachern
ae45e2c4f3 (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' 2009-02-10 13:50:08 -08:00
Doug MacEachern
ec7d726a9d [SIGAR-122] ARG_MAX undefined on glibc 2.8 2009-02-06 13:42:16 -08:00
Doug MacEachern
062d08d9ce [SIGAR-122] ARG_MAX undefined on glibc 2.8 2008-09-27 15:59:39 +00:00
Doug MacEachern
51dd062f7e [SIGAR-106] rename cpu steal -> stolen 2008-05-28 18:14:00 +00:00
Doug MacEachern
f03b59703e [SIGAR-107] Recognize vzfs as local filesystem type on Linux 2008-05-24 21:54:29 +00:00
Doug MacEachern
9a1f45cd7b [SIGAR-106] Add cpu irq, soft_irq and steal 2008-05-24 15:12:06 +00:00
Doug MacEachern
ac0c681fb7 [SIGAR-102] check kernel version rather than /proc/diskstats to detect nptl 2008-05-16 02:37:21 +00:00
Doug MacEachern
9e9b25bcd5 [SIGAR-103] Recognize jfs and psfs as local filesystem types 2008-05-10 03:04:59 +00:00
Doug MacEachern
ec98ffbc5e mv HAS_NPTL define 2008-05-09 04:25:39 +00:00
Doug MacEachern
ed23cc08e3 [SIGAR-102] do not attempt to filter LinuxThreads in 2.6+ kernels 2008-05-09 04:18:17 +00:00
Doug MacEachern
d6a245fa0f [SIGAR-93] fix disk.queue 2008-04-26 23:29:22 +00:00
Doug MacEachern
d895adc73e rename cpu_info -> info 2008-04-11 17:54:08 +00:00
Doug MacEachern
51b607866f add cpu_info.cores_per_socket 2008-04-11 17:46:36 +00:00
Doug MacEachern
e4c00a7b92 fix cpu_info list size accounting 2008-04-11 17:25:11 +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
eee071783c refactor/simplify cpu core detection 2008-04-09 03:16:15 +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
70bfdee076 use sigar_iodev_get 2008-03-16 02:21:46 +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
7e422addb4 [SIGAR-85] Fix possible integer overflow in sigar_file_system_usage 2008-02-01 00:56:05 +00:00
Doug MacEachern
efb74c1703 sanity check strchr results 2008-01-29 00:08:29 +00:00
Doug MacEachern
b224421cc4 [SIGAR-53] [SIGAR-73] Recognize gfs and ocfs2 as local filesystems 2007-11-09 22:54:07 +00:00
Doug MacEachern
cec8bcc400 [SIGAR-72] close /proc/stat fp 2007-11-09 22:37:17 +00:00
Doug MacEachern
0883efd92c [SIGAR-72] Fix possible crash parsing /proc/stat:btime 2007-11-09 17:31:31 +00:00
Doug MacEachern
29f25f22b7 fake boot_time if no btime in /proc/stat 2007-11-09 01:27:32 +00:00
Doug MacEachern
7720fc973d fix disk_usage memcpy 2007-11-07 05:32:25 +00:00