Doug MacEachern
585d510fb4
[SIGAR-62] linux swap.page_{in,out} impl
2007-07-20 18:22:20 +00:00
Doug MacEachern
ba1d44fe17
[SIGAR-62] stub swap.page_{in,out}
2007-07-20 18:02:21 +00:00
Doug MacEachern
ef37a1bf3a
linux tcp_stat impl
2007-07-14 16:31:37 +00:00
Doug MacEachern
fe76b8fe7d
stub tcp_stat function
2007-07-14 16:01:58 +00:00
Doug MacEachern
de3406cd22
[SIGAR-61] Alternative to /proc/cpuinfo.MHz
2007-06-28 19:07:29 +00:00
Doug MacEachern
4d218a4cc4
[SIGAR-60] Add multi-core AMD Opteron detection
2007-06-28 18:25:50 +00:00
Doug MacEachern
b498232e19
fix net_connection.inode
2007-06-02 17:25:28 +00:00
Doug MacEachern
09c4138dbd
make sigar_proc_args_get a wrapper
2007-04-22 05:37:39 +00:00
Doug MacEachern
ad433cf375
make sigar_proc_list_get a wrapper
2007-04-22 03:54:04 +00:00
Doug MacEachern
c4a3f548e2
use getpagesize() instead of sysconf
2007-04-21 15:33:03 +00:00
Doug MacEachern
67a86f31d7
use getpagesize() instead of PAGE_SHIFT
2007-04-21 15:30:14 +00:00
Doug MacEachern
886f04adea
rid compile warnings from modern gcc
2007-04-15 15:58:09 +00:00
Doug MacEachern
405e95e6bb
move sigar_proc_stat_get to sigar.c
2007-04-14 21:25:20 +00:00
Doug MacEachern
e3edf38057
[SIGAR-46] Fix cpu_info.{mhz,cache_size} fields in UML vms
2007-04-05 18:51:22 +00:00
Doug MacEachern
be5ee7b600
[SIGAR-4] Add hook for using mirrored /proc/net/tcp file
2007-04-05 02:26:00 +00:00
Doug MacEachern
85407d98b4
[SIGAR-45] Fix disk reads/writes for LVM managed volumes
2007-02-22 02:28:21 +00:00
Doug MacEachern
9966f219e9
Add XenSource vendor support to sys_info api
2007-01-10 03:26:31 +00:00
Doug MacEachern
d4f10e9cc7
improve sigar_thread_cpu_get resolution
2006-12-04 18:45:01 +00:00
Doug MacEachern
70cefa7c18
[SIGAR-19] Change cpu time units to milliseconds
2006-12-04 18:22:51 +00:00
Doug MacEachern
795fa1ae44
[SIGAR-19] change process cpu time units to milliseconds
2006-12-04 03:42:27 +00:00
Doug MacEachern
7f32b812ff
move redhat-release check after vmware
2006-10-21 14:41:16 +00:00
Doug MacEachern
29fe017c68
check for lsb-release before debian_version, else Ubuntu discovered as Debian
2006-10-17 17:37:58 +00:00
Doug MacEachern
e5b524448e
[SIGAR-18] use strtoull
2006-10-11 03:17:34 +00:00
Doug MacEachern
2f4f63f0b2
use strtoull for cpu metrics
2006-10-10 16:27:47 +00:00
Doug MacEachern
f32e386b19
use snprintf
2006-09-30 17:48:33 +00:00
Doug MacEachern
4e866921b9
RHEL vendor_version
2006-09-25 00:55:12 +00:00
Doug MacEachern
a4e588008e
set sys_info vendor and description
2006-09-25 00:41:23 +00:00
Doug MacEachern
84b8fff7b1
start port of OperatingSystem.java to sigar_sys_info C api
2006-09-24 18:23:04 +00:00
Doug MacEachern
f3137cb53a
Fix Linux cpu_info /proc/cpuinfo parsing on ia64
2006-09-20 22:05:54 +00:00
Doug MacEachern
9d7275a29b
[SIGAR-14] Fix sigar_cpu_t.total on Linux and Solaris with multi-core CPUs
2006-09-07 14:10:24 +00:00
Doug MacEachern
e472dc9d9a
add copyright
2006-07-15 17:46:36 +00:00
Doug MacEachern
36159f8083
cpuinfo fixups for ppc64 linux
2006-07-11 17:40:18 +00:00
Doug MacEachern
859900e605
add/use SIGAR_64BIT macro and include powerpc64
2006-07-11 17:05:48 +00:00
Doug MacEachern
1c17ba5160
fixup cpuid asm #ifdefs to compile on ppc arch
2006-07-11 16:32:05 +00:00
Doug MacEachern
ee37d10b2c
convert net_route to use net_address_t
2006-07-04 19:22:05 +00:00
Doug MacEachern
e4303ee612
store net_connection addresses in binary rather than string
2006-07-04 16:35:27 +00:00
Doug MacEachern
b313b3ec27
/proc/net parsing optimizations
2006-07-03 20:17:35 +00:00
Doug MacEachern
475ddf2428
remove mem.shared
2006-07-01 02:47:09 +00:00
Doug MacEachern
774f110915
[SIGAR-7] Convert sectors to bytes in Linux file system read/write bytes metrics
2006-06-22 02:48:19 +00:00
Doug MacEachern
954b01b441
doc /proc/diskstats fields
2006-06-21 17:53:15 +00:00
Doug MacEachern
5d6e5c1e8e
add some iostat debug logs
2006-06-21 16:54:16 +00:00
Doug MacEachern
7f434cf5ce
implement net_connection_walk
2006-06-20 00:28:21 +00:00
Doug MacEachern
b279cfa785
start alternative to sigar_net_connection_list_get
2006-06-15 20:50:00 +00:00
Doug MacEachern
541fe6b395
only punt mtrr write-back if way off from MemTotal
2006-06-13 17:59:58 +00:00
Doug MacEachern
3ff6042aaf
backout previous mem changes. only punt mtrr to rounding if > 1 write-back register
2006-06-13 15:38:43 +00:00
Doug MacEachern
5ff5b9d145
[SIGAR-6] Use rounding for mem.ram on Linux rather than /proc/mtrr
2006-06-09 18:39:28 +00:00
Doug MacEachern
8355e44d8c
cast to prevent possible integer overflow in filesystem_usage
2006-05-31 00:59:14 +00:00
Doug MacEachern
87e66ddba6
add several sanity checks to net_connection_list
2006-04-24 18:18:16 +00:00
Doug MacEachern
8e48b40ec2
HT enabled detection is not reliable
2006-03-22 02:46:11 +00:00
Doug MacEachern
9f5ad58812
add net_interface_stat.speed
2006-03-07 01:08:23 +00:00
Doug MacEachern
e63e0ff456
remove proc_mem.{rss,vsize}
2006-03-04 02:48:58 +00:00
Doug MacEachern
7250cfe937
proper check if HT is enabled
2006-03-03 02:01:19 +00:00
Doug MacEachern
58435e27ab
fix debug log
2006-02-24 03:12:59 +00:00
Doug MacEachern
249653c046
use asm/cpuid instead of /proc/cpuinfo to detect hyperthreading
2006-02-23 23:23:27 +00:00
Doug MacEachern
547a30b20b
keep better track of /proc/*/stat fields
2005-11-28 18:24:11 +00:00
Doug MacEachern
530157168d
add proc_mem page fault metrics
2005-11-23 17:39:28 +00:00
Doug MacEachern
5df9096cba
add proc_state.processor
2005-11-23 03:09:59 +00:00
Doug MacEachern
ef15aa3434
stub proc_state.processor
2005-11-23 01:28:51 +00:00
Doug MacEachern
fb61a2ebb0
add proc_state.threads metric
2005-11-22 21:45:45 +00:00
Doug MacEachern
100aed0cb3
integrate dmalloc.h
2005-11-09 18:26:10 +00:00
Doug MacEachern
f2b304ea3c
make it easier to redefine /proc for testing/debugging
2005-09-30 23:05:14 +00:00
Doug MacEachern
22316abc31
use SIGAR_TICK2SEC macro
2005-05-12 03:20:13 +00:00
Doug MacEachern
1146d10e26
convert cpu times to seconds
2005-05-11 23:17:39 +00:00
Doug MacEachern
692e2010f2
for /proc/diskstats
2005-05-06 23:50:27 +00:00
Doug MacEachern
26a72a811b
yet another place to find disk metrics in 2.6
2005-05-06 23:47:22 +00:00
Doug MacEachern
a503c1910d
implement new disk metrics for linux w/ /proc/partitions metrics
2005-05-06 22:51:34 +00:00
Doug MacEachern
22452e99fc
add file_system_usage_t.used field
2005-04-26 19:55:21 +00:00
Doug MacEachern
aa3a6a201d
init new disk fields
2005-04-07 01:28:07 +00:00
Doug MacEachern
cd6df9317e
use protocol param in proc_port
2005-03-16 03:54:05 +00:00
Doug MacEachern
c31d2c5712
add protocol param to proc_port function
2005-03-16 02:44:52 +00:00
Doug MacEachern
b9144d1728
pass sigar_t* to sigar_os_error_string
2005-03-12 06:19:34 +00:00
Doug MacEachern
71b4db50c8
fillin net_connection queue metrics
2005-03-12 04:39:25 +00:00
Doug MacEachern
87b9f750b9
fillin net_connection.state field
2005-03-11 17:02:30 +00:00
Doug MacEachern
df486b12dd
rid 64bit compile warnings
2005-02-16 22:39:10 +00:00
Doug MacEachern
b2cc0c4c48
move /proc/pid/cmdline parsing to sigar_util.c
2005-02-09 07:29:31 +00:00
Doug MacEachern
728fd6d75d
initialize disk metrics for all platforms
2004-12-05 23:42:23 +00:00
Doug MacEachern
dfdff8b635
use SIGAR_FIELD_NOTIMPL constant in place of -1 or 0 for fields which are not implemented for a given platform
2004-12-05 23:36:48 +00:00
Doug MacEachern
d7adfbd94a
cache the dirname => device lookups
2004-12-05 22:31:26 +00:00
Doug MacEachern
72b3a4c55b
disk metrics for 2.4 kernel
2004-12-05 20:34:51 +00:00
Doug MacEachern
bb42c93df4
linux 2.6 iostats
2004-12-05 07:10:18 +00:00
Doug MacEachern
bd9a436247
fillin cpu.wait
2004-11-22 01:58:07 +00:00
Doug MacEachern
46ba56bc17
add cpu.wait metric
2004-11-22 01:51:34 +00:00
Doug MacEachern
02c7235d4d
adjust mem.actual_{used,free} +/- buffers/cache
2004-11-20 02:23:57 +00:00
Doug MacEachern
fee5b18641
removing mem.{buffer,cached} fields.
...
replace with actual_{free,used} fields so we can portably adjust
-/+ buffers/cache on linux and perhaps on other platforms w/ different
semantics.
2004-11-20 02:08:16 +00:00
Doug MacEachern
65fe21ae2b
thread_cpu impl
2004-11-17 05:50:18 +00:00
Doug MacEachern
1299660b6c
thread_cpu stub
2004-11-17 05:35:17 +00:00
Doug MacEachern
a28cf84001
use sysconf to get ticks
2004-11-15 00:56:34 +00:00
Doug MacEachern
314ddb41bf
make sigar_swap compatible with 2.6 kernel
2004-10-05 20:46:57 +00:00
Doug MacEachern
e6d5124d9d
make sigar_mem compatible with 2.6 kernel
2004-10-05 20:44:33 +00:00
Ryan Morgan
79f6f36447
Set the file system type to unknown initially. The proper type
...
will be determined on the call to sigar_fs_type_get(fsp).
2004-09-26 21:07:26 +00:00
Doug MacEachern
4736d77c87
add proc_time.total field (sum of user+sys)
2004-08-21 00:25:07 +00:00
Doug MacEachern
606275fc36
renaming proc_time.{utime,stime} to proc_time.{user,sys}
...
'utime' and 'stime' are common within system structures, but with lots of
other stuff in the structure unrelated to time. having 'time' in both the
structure/class name and the field at the sigar level is just lame.
2004-08-21 00:13:13 +00:00
Doug MacEachern
a79bb600b9
assume Xeon on redhat AS 2.1 is HT enabled
2004-08-11 22:44:38 +00:00
Doug MacEachern
dc4168178d
removing uptime.idletime (only linux had this)
2004-07-21 21:56:55 +00:00
Doug MacEachern
ddc6f4c55c
missed api _list convention, cpu_infos -> cpu_info_list
2004-07-10 04:44:45 +00:00
Doug MacEachern
ebc80f9357
adjust model name
2004-07-02 02:52:51 +00:00
Doug MacEachern
a1ffc9132a
fixup cpu vendor
2004-07-01 22:07:12 +00:00
Doug MacEachern
b10a1a0c9e
fix cpu_list for older linux kernels
2004-07-01 21:57:26 +00:00
Doug MacEachern
1bbf237912
fix compile error w/ older gcc
2004-07-01 00:41:03 +00:00
Doug MacEachern
018f634896
proc_modules impl
2004-06-29 02:23:58 +00:00