Doug MacEachern
cacd0b97c1
actually, arg > 1024 is reasonable in the case of java apps w/ hugeass -classpath
2005-10-08 00:27:07 +00:00
Doug MacEachern
15663ef35c
proper fallthrough to net_ifstat_get_any
2005-10-07 20:14:30 +00:00
Doug MacEachern
bbd57876df
plug leak if get_fsdev_paths fails
2005-10-07 18:40:10 +00:00
Doug MacEachern
ea6b08a70f
prevent out-of-bounds read/write if proc arg happens to be > 1024
2005-10-07 18:20:44 +00:00
Doug MacEachern
af16d018ec
plug leak if there happens to be an error reading an arg
2005-10-07 17:19:23 +00:00
Doug MacEachern
02df1b1697
punt any 64bit native process in proc_args
2005-09-13 16:30:33 +00:00
Doug MacEachern
b2830cafbc
fix crash in proc_args if psinfo_t.pr_argc == 0
2005-09-12 23:52:02 +00:00
Doug MacEachern
9ec93a73ed
plugin possible (but very unlikely) leak in proc_args if argc > 56 and pread error
2005-09-12 20:55:52 +00:00
Doug MacEachern
77e652803d
remove unused var
2005-09-12 20:54:09 +00:00
Doug MacEachern
ddca24c78e
use same filter as netstat -r in net_route_list
2005-07-15 03:55:56 +00:00
Doug MacEachern
cc4f93cf8f
plug possible fd leak if pgrab fails for proc_modules
2005-07-13 15:58:07 +00:00
Doug MacEachern
fbd117ae64
set route flags
2005-07-12 18:34:53 +00:00
Doug MacEachern
0926157b8b
use sigar_inet_ntoa
2005-05-13 03:16:45 +00:00
Doug MacEachern
6c1167c4d7
dont reconvert for cpu total
2005-05-12 02:49:29 +00:00
Doug MacEachern
76b1d0f081
use SIGAR_TICK2SEC macro
2005-05-12 02:46:46 +00:00
Doug MacEachern
dff7d13462
convert cpu times to seconds
2005-05-11 23:49:43 +00:00
Doug MacEachern
22452e99fc
add file_system_usage_t.used field
2005-04-26 19:55:21 +00:00
Doug MacEachern
d8b55e8c52
impl new disk metrics
2005-04-07 01:32:33 +00:00
Doug MacEachern
aa3a6a201d
init new disk fields
2005-04-07 01:28:07 +00:00
Doug MacEachern
bcb098a34d
stub proc_port for all platforms
2005-03-16 02:47:57 +00:00
Doug MacEachern
da4605cc9f
close_mib2 during sigar_close
2005-03-12 18:12:00 +00:00
Doug MacEachern
cd7c0dd425
map mib2 errmsg
2005-03-12 06:22:35 +00:00
Doug MacEachern
b9144d1728
pass sigar_t* to sigar_os_error_string
2005-03-12 06:19:34 +00:00
Doug MacEachern
9c9326d253
implement net_route_list
2005-03-12 05:44:04 +00:00
Doug MacEachern
6aec1931f5
tcp queue metrics
2005-03-12 04:12:47 +00:00
Doug MacEachern
3cde52b59f
fillin udp connection info
2005-03-12 02:38:34 +00:00
Doug MacEachern
7bb832181c
use SIGAR_TCP_{IDLE,BOUND}
2005-03-12 02:17:36 +00:00
Doug MacEachern
b01785ba7c
fillin tcp connection info
2005-03-12 01:10:33 +00:00
Doug MacEachern
94a5365b7f
stub some stuff for net_connection_list impl
2005-03-11 21:57:34 +00:00
Doug MacEachern
5a34e13959
add mib2_t to sigar_t
2005-03-11 21:30:17 +00:00
Doug MacEachern
063d879294
only map ENOENT to ESRCH for /proc open errors
2004-12-18 01:20:19 +00:00
Doug MacEachern
60852cf91e
another solaris disk type
2004-12-07 06:14:22 +00:00
Doug MacEachern
836d67f92f
deal w/ unpartitioned disk kstats
2004-12-07 06:06:29 +00:00
Doug MacEachern
1a4f8ae004
implement disk i/o metrics
2004-12-07 05:06:03 +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
46ba56bc17
add cpu.wait metric
2004-11-22 01:51:34 +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
9a071a99a4
detect solaris version, use it to skip init_libproc if >= solaris 10.
2004-09-04 22:59:40 +00:00
Doug MacEachern
6876eeabd3
fillin proc_exe on solaris 10 using new /proc/<pid>/path/ feature
2004-09-04 22:46:08 +00:00
Doug MacEachern
42f7549b49
remove unused /proc/cred function.
...
fix proc_status function name.
2004-09-04 19:01:44 +00:00
Doug MacEachern
c9990246da
PR: 9519
...
proc_dirname does not exist in solaris 10's libproc.so
2004-09-04 18:56:27 +00:00
Doug MacEachern
2e940caf97
PR: 9519
...
workaround solaris 10 issue in proc_time
2004-09-04 18:37:17 +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
43768bac66
handle proc_exe.name for self process
2004-07-30 02:37:01 +00:00
Doug MacEachern
5213a822f6
pullout some dlinfo code from proc_modules to be reused
2004-07-30 02:27:58 +00:00
Doug MacEachern
19e7aa64a5
fillin proc_exe.name
2004-07-30 02:15:05 +00:00