Commit Graph

1218 Commits

Author SHA1 Message Date
Jan Kneschke 079dd9b09f (SIGAR-137) sdl_data isn't 0-terminated
fixed 2 more places where sdl_data is used as it would be 0-term'ed
  and doesn't honour sdl_nlen
2009-08-11 17:29:38 -07:00
Doug MacEachern b05f332705 fix compile against visual studio 6 2009-08-05 16:56:37 -07:00
Doug MacEachern c310dffb84 try wmi if peb fails for proc_exe 2009-08-05 15:09:00 -07:00
Doug MacEachern 57b8fff72f add wmi proc_exe wrapper decl 2009-08-05 15:08:51 -07:00
Doug MacEachern 8c1608bb76 add wmi proc_exe wrapper 2009-08-05 15:08:43 -07:00
Doug MacEachern 2550c6373a try wmi if peb fails for proc_args 2009-08-05 14:30:16 -07:00
Doug MacEachern 7d236ebc39 add wmi proc_args wrapper decl 2009-08-05 14:29:44 -07:00
Doug MacEachern e5c1e8ac07 return ERROR_DATATYPE_MISMATCH if query does not get PebBaseAddress 2009-08-05 14:29:16 -07:00
Doug MacEachern 8dd2a25568 add wmi proc_args wrapper 2009-08-05 14:27:08 -07:00
Doug MacEachern 00a4ebf85e wmi com interface wrapper 2009-08-05 13:46:40 -07:00
Doug MacEachern 4a926f42d5 only exclude nfs/rpcv2.h on FreeBSD 8+ 2009-07-31 14:51:14 -07:00
Doug MacEachern 60182c3f82 net_route_list bandaid for FreeBSD 8.0 2009-07-30 17:46:27 -07:00
Doug MacEachern 1a00826ebb sigar_proc_port_get does not compile on FreeBSD 8.0 2009-07-30 17:18:32 -07:00
Doug MacEachern 07f9d49931 only need nfs/rpcv2.h on darwin 2009-07-30 17:13:17 -07:00
Doug MacEachern ceab542f7b (SIGAR-164) return ENXIO instead of ENOENT in disk_usage win32 impl 2009-07-18 18:43:54 -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 9e699babc5 (SIGAR-164) return ENXIO instead of ENOENT in disk_usage aix impl 2009-07-18 18:43:28 -07:00
Doug MacEachern 4bd3ef75a9 (SIGAR-164) return ENXIO instead of ESRCH in disk_usage darwin impl 2009-07-18 18:43:04 -07:00
Doug MacEachern 8cef393365 (SIGAR-163) Recognize cvfs (StorNext) as local filesystem type 2009-07-17 14:16:42 -07:00
Doug MacEachern a3851c6b9a (SIGAR-162) plug possible memory leak in sigar_iodev_get util 2009-07-16 07:10:04 -07:00
Doug MacEachern 5145e6b8c8 (SIGAR-155) Plug memory leak sigar_proc_exe_get Darwin impl 2009-07-13 17:57:28 -07:00
Doug MacEachern de915ae0d1 (SIGAR-130) Use pstat(PSTAT_GETCOMMANDLINE,...) on HP-UX < 11iv2 2009-07-08 17:55:54 -07:00
Doug MacEachern 4d0046fa25 (SIGAR-130) Use pstat_getcommandline on HP-UX 11iv2+ 2009-07-08 17:55:36 -07:00
Doug MacEachern 4bffa314d2 (SIGAR-131) switch to pst_fileinfo2 on all HPUX flavors 2009-07-08 17:55:16 -07:00
Doug MacEachern e9e3dce323 rid -Wall arpa/inet.h:89: warning on FreeBSD 2009-07-07 15:30:45 -07:00
Doug MacEachern d048e0ccdc rid -Wall unused warning on *BSD 2009-07-03 15:50:00 -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 8866170e52 fix lo net_interface_stat counters 2009-07-02 13:56:25 -07:00
Doug MacEachern bc492c8945 remove obsolete net_interface_stat lookup optimizations 2009-07-02 12:43:56 -07:00
Doug MacEachern 0e0d7ea1f7 (SIGAR-144) prefer 64-bit counter versions of rx/tx bytes + packets 2009-07-02 12:20:11 -07:00
Doug MacEachern 2b0c7f8205 (SIGAR-148) use sigar_statvfs on HP-UX 2009-07-01 15:35:58 -07:00
Doug MacEachern a788e2b6e2 (SIGAR-148) use sigar_statvfs on AIX 2009-07-01 15:17:38 -07:00
Doug MacEachern 2b00bad1c1 move FreeBSD sigar_disk_usage_get related code where it belongs 2009-07-01 14:59:08 -07:00
Doug MacEachern d3d35e937f (SIGAR-148) use sigar_statvfs 2009-07-01 14:29:20 -07:00
Doug MacEachern af75428ab6 darwin sigar_dlinfo_modules impl 2009-06-17 17:57:28 -07:00
Doug MacEachern b3abdd5a53 (SIGAR-151) Add Modules support to PTQL 2009-06-06 08:38:06 -07:00
Doug MacEachern bace63f710 untabify 2009-06-01 13:06:41 -07:00
Kay Röpke 91ba1a2c3d i'm stupid, =* is not going to compile at all. 2009-06-01 13:06:09 -07:00
Kay Röpke 596bc2a522 fix Darwin side of SIGAR-47: integer multlipcation overflow on 32bit builds with more than 4GB available memory 2009-06-01 13:05:58 -07:00
Doug MacEachern fb9a5f3357 (SIGAR-142) loosen net_interface_list filters 2009-05-24 18:09:32 -07:00
Doug MacEachern 64a6f41925 fix compile on OpenBSD and older FreeBSD 2009-05-22 12:05:52 -07:00
Doug MacEachern 26872fdda0 rid -Wall statvfs warning on solaris 8 2009-05-22 12:05:52 -07:00
Doug MacEachern cb8eb6b183 Merge branch 'SIGAR-148' 2009-05-21 17:11:37 -07:00
Doug MacEachern f1e3a4c37c Merge branch 'sigar-1.6' of git@github.com:hyperic/sigar into sigar-1.6 2009-05-14 08:38:56 -07:00
Doug MacEachern 9fec04ad66 fix so SigarPermissionDeniedException is throw on open /dev/kmem EACCES 2009-05-13 17:24:25 -07:00
Doug MacEachern 4c5873885e require libperfstat on aix 2009-05-13 17:23:49 -07:00
Doug MacEachern 8c8d4cf814 getrusage on NetBSD may not return monotonically increasing values for CPU time.
See: http://archives.devshed.com/forums/bsd-93/kern-30115-getrusage-returns-bogus-ru-utime-values-220800.html
2009-04-25 09:52:51 -07:00
Doug MacEachern 039080f722 (SIGAR-39) Use kern.cp_times in cpu_list on FreeBSD 7.x+ 2009-04-25 08:55:21 -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 b64ebca57e s/SVN/SCM/ 2009-02-10 17:38:24 -08:00
Doug MacEachern bc3e8ed6d4 (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' 2009-02-10 13:52:03 -08:00
Doug MacEachern 2e3c302f4f dos2unix 2009-02-09 13:28:00 -08:00
Doug MacEachern 93afe26132 (SIGAR-138) Recognize zfs as local filesystem type 2009-02-08 18:08:27 -08:00
Doug MacEachern 22dec9316c Merge branch 'jk/pstat_getfile2' 2009-02-06 17:42:39 -08:00
Doug MacEachern 9774d05e20 Merge branch 'jk/pstat_getfile2' 2009-02-06 17:42:33 -08:00
Doug MacEachern 5d50f402bb fix osx version on 64-bit platforms 2009-02-06 13:54:12 -08:00
Doug MacEachern bd2178d0cf [SIGAR-132] Fix possible memory leak in sigar_rpc_ping 2009-02-06 13:46:49 -08:00
Doug MacEachern 6db07f1cba [SIGAR-129] fix possible integer overflow in time_now_millis 2009-02-06 13:46:38 -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 4c441a3ee2 revert r3669 - requires vc6sp5+vcpp5 on windows 2009-02-06 13:45:26 -08:00
Doug MacEachern 1ccf48ca19 [SIGAR-127] use KERN_ARGMAX for KERN_PROCARGS2 buffer size 2009-02-06 13:44:35 -08:00
Doug MacEachern 4867aeb235 [SIGAR-126] /dev/kmem not usable in aix 6 2009-02-06 13:44:21 -08:00
Doug MacEachern d19ab5ae30 rid "warning: cast from pointer to integer of different size" on 64-bit builds 2009-02-06 13:43:37 -08:00
Doug MacEachern 8e9ab74eee [SIGAR-125] bring back /private/var/vm swap impl for osx 10.3 2009-02-06 13:43:22 -08:00
Doug MacEachern c2114a71e1 [SIGAR-123] do not include global shared text+data region size 2009-02-06 13:42:46 -08:00
Doug MacEachern ec7d726a9d [SIGAR-122] ARG_MAX undefined on glibc 2.8 2009-02-06 13:42:16 -08:00
Doug MacEachern 5c905c8e64 [SIGAR-119] Use 64-bit performance counter for uptime 2008-09-08 23:15:56 +00:00
Doug MacEachern c54ad52a99 compile on FreeBSD 7 2008-09-06 18:22:19 +00:00
Doug MacEachern 0a1a1203f0 include archlib name in description 2008-08-12 01:25:59 +00:00
Doug MacEachern 836a725c86 add version description 2008-08-12 00:05:03 +00:00
Doug MacEachern b151528a9e proc_fd not working on 5.2+ 2008-08-10 19:38:07 +00:00
Doug MacEachern 34333d64e8 include svn revision in version properties 2008-08-10 18:59:53 +00:00
Doug MacEachern 2330552825 init new cpu fields 2008-08-09 16:57:45 +00:00
Doug MacEachern 8316f5e619 [SIGAR-117] fix Cpu.Percent ptql 2008-08-07 20:23:01 +00:00
Doug MacEachern 1a0db053ed [SIGAR-116] check return value from read() in sigar_file2str() 2008-08-05 23:49:58 +00:00
Doug MacEachern b0fad8130c compile again on FreeBSD 4 2008-07-19 23:00:29 +00:00
Doug MacEachern 5da628b67b proper osx libproc.h location is /usr/include 2008-07-13 21:10:56 +00:00
Doug MacEachern 424effcad7 fix compile ifndef DARWIN_HAS_LIBPROC_H 2008-07-13 19:40:59 +00:00
Doug MacEachern 0a7f8a071f tcp.out_rsts is invalid 2008-07-13 03:44:08 +00:00
Doug MacEachern 2f65249d52 [SIGAR-115] fix proc_exe.name for self process 2008-07-12 16:10:32 +00:00
Doug MacEachern 311714fcc3 fix dlinfo_modules return status 2008-07-12 15:46:53 +00:00
Doug MacEachern cb61c1eacd [SIGAR-114] set errno=0 before calling strto functions 2008-07-11 23:22:10 +00:00
Doug MacEachern aa33543b58 [SIGAR-114] set errno=0 before calling strto functions 2008-07-11 23:17:12 +00:00
Doug MacEachern 7d63d0f092 cpu rollup log noise reduction 2008-07-11 23:09:38 +00:00
Doug MacEachern 75f4843c1d optmize Port queries 2008-06-01 03:39:25 +00:00
Doug MacEachern af9b092b88 header for stat() 2008-05-31 16:30:08 +00:00
Doug MacEachern d785d747bc [SIGAR-111] Add sudo support for Pid.PidFile 2008-05-31 16:26:25 +00:00
Doug MacEachern ef1a02eb09 [SIGAR-108] AIX uses _LARGE_FILES 2008-05-30 17:24:45 +00:00
Doug MacEachern 6cdf6aea2c [SIGAR-108] windows lfs support 2008-05-30 16:16:03 +00:00
Doug MacEachern 35a3672c31 move FileTimeToTime from sigar_os.h to win32_sigar.c 2008-05-30 03:54:37 +00:00
Doug MacEachern 31dcf1bc48 --paren 2008-05-30 03:48:03 +00:00
Doug MacEachern e69ec3d904 [SIGAR-108] prune includes/define flags for LFS 2008-05-30 02:21:00 +00:00
Doug MacEachern 51dd062f7e [SIGAR-106] rename cpu steal -> stolen 2008-05-28 18:14:00 +00:00
Doug MacEachern 87b194fbb1 optimize cpu.vm kstat lookups 2008-05-28 06:04:58 +00:00
Doug MacEachern c0bd0b1830 add cpu.irq for windows 2008-05-25 01:45:02 +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 e94969339f [SIGAR-71] default to listing cpu cores 2008-05-24 21:32:42 +00:00
Doug MacEachern 9a1f45cd7b [SIGAR-106] Add cpu irq, soft_irq and steal 2008-05-24 15:12:06 +00:00