Commit Graph

30 Commits

Author SHA1 Message Date
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
Doug MacEachern f51b9f1cbb remove unused get_ncpus function.
add is_ht_enabled function.
merge times of logical processors in cpu_list_get
2004-06-22 20:52:04 +00:00
Doug MacEachern 97472cb48e stub proc_modules_get 2004-06-22 19:40:37 +00:00
Doug MacEachern dffe0da855 Initial revision 2004-06-21 22:37:04 +00:00