Doug MacEachern
|
2d38a11fbb
|
disable fake fqdn
|
2004-07-16 20:14:36 +00:00 |
|
Doug MacEachern
|
8aa114b220
|
more fqdn logging.
use ip address if fqdn cannot be determined.
|
2004-07-16 20:06:02 +00:00 |
|
Doug MacEachern
|
661af074db
|
better test to check if logging has already been configured
|
2004-07-16 19:21:11 +00:00 |
|
Doug MacEachern
|
dcdc74d06a
|
use IS_FQDN stead of strchr
|
2004-07-16 19:10:08 +00:00 |
|
Doug MacEachern
|
48857bb990
|
workaround uptime issue on 5.x
|
2004-07-16 18:33:19 +00:00 |
|
Doug MacEachern
|
2685ee0321
|
log Sigar.load errors
|
2004-07-16 17:39:51 +00:00 |
|
Doug MacEachern
|
d1e5277554
|
add an error log wrapper
|
2004-07-16 17:39:25 +00:00 |
|
Doug MacEachern
|
7cd022b29f
|
dont allow missing jars to keep shell from starting
|
2004-07-16 15:49:02 +00:00 |
|
Doug MacEachern
|
d59bc650b8
|
update swap tests
|
2004-07-16 02:27:43 +00:00 |
|
Doug MacEachern
|
de952b5d81
|
remove unused variable
|
2004-07-16 01:25:54 +00:00 |
|
Doug MacEachern
|
471d4bb02b
|
call versioned boot_time functions based on uname version rather than always trying v4 first
|
2004-07-16 01:20:47 +00:00 |
|
Doug MacEachern
|
698be6dd32
|
s/procinfo/procsinfo/ so we can compile in 64 bit mode
|
2004-07-15 18:38:56 +00:00 |
|
Doug MacEachern
|
9a584f0469
|
remove obsolete class
|
2004-07-15 00:24:17 +00:00 |
|
Doug MacEachern
|
dab22628f8
|
add examples to dist
|
2004-07-15 00:23:34 +00:00 |
|
Doug MacEachern
|
b845c09f19
|
include javadoc and C headers in the dist
|
2004-07-15 00:15:46 +00:00 |
|
Doug MacEachern
|
b1db354fb8
|
doc fixes
|
2004-07-15 00:10:47 +00:00 |
|
Doug MacEachern
|
a354191c58
|
add hyperic_jni/src to javadoc sourcepathref
|
2004-07-15 00:08:06 +00:00 |
|
Doug MacEachern
|
6802633d03
|
s/javadocs/javadoc/g
|
2004-07-15 00:06:31 +00:00 |
|
Doug MacEachern
|
6b692615ef
|
fix possible handle leak in sigar_get_cpu_mhz_perfstat
|
2004-07-13 02:25:41 +00:00 |
|
Doug MacEachern
|
c1df8325d5
|
wtf, end-of-file got chopped off
|
2004-07-12 21:27:24 +00:00 |
|
Doug MacEachern
|
13ce45c30b
|
bump version
|
2004-07-12 21:19:53 +00:00 |
|
Doug MacEachern
|
ef21ab2336
|
add some debug logging
|
2004-07-12 21:14:20 +00:00 |
|
Doug MacEachern
|
ddc6f4c55c
|
missed api _list convention, cpu_infos -> cpu_info_list
|
2004-07-10 04:44:45 +00:00 |
|
Doug MacEachern
|
ca3ecc05f5
|
cpu model/vendor fixups
|
2004-07-09 21:02:34 +00:00 |
|
Doug MacEachern
|
c51d4f15d4
|
cpu model name fixups
|
2004-07-09 20:44:39 +00:00 |
|
Doug MacEachern
|
d26c16affa
|
build libsigar_aixperfstat.so
|
2004-07-09 00:52:14 +00:00 |
|
Doug MacEachern
|
9a00bf0c64
|
use libperfstat to get cpu mhz on aix 5.2
|
2004-07-09 00:51:33 +00:00 |
|
Doug MacEachern
|
71e5d8f118
|
dynamic proxy to libperfstat.a
|
2004-07-09 00:50:09 +00:00 |
|
Doug MacEachern
|
9dad97ab20
|
libperfstat.a from aix 5.2 required for linking on 4.3
|
2004-07-09 00:49:19 +00:00 |
|
Doug MacEachern
|
38ee1910e6
|
libperfstat.h from aix 5.2
|
2004-07-09 00:48:29 +00:00 |
|
Doug MacEachern
|
99728c8e48
|
add self_path
|
2004-07-09 00:01:51 +00:00 |
|
Doug MacEachern
|
036f8e7789
|
function to get the directory where libsigar.so lives
|
2004-07-08 03:29:59 +00:00 |
|
Doug MacEachern
|
a0f68ed2a7
|
implement proc_modules for self process
|
2004-07-08 03:01:43 +00:00 |
|
Doug MacEachern
|
49782b4d05
|
List.add method returns boolean
|
2004-07-08 02:58:30 +00:00 |
|
Doug MacEachern
|
368de3b882
|
format load average
|
2004-07-07 02:46:32 +00:00 |
|
Doug MacEachern
|
11c9afd576
|
test all proc functions dont fault w/ invalid pid
|
2004-07-07 02:31:47 +00:00 |
|
Doug MacEachern
|
ee9cefd9e5
|
Logger methods are void return type (blew up on ibm jdk)
|
2004-07-06 18:04:37 +00:00 |
|
Doug MacEachern
|
f56e1c0744
|
use super class getProperty
|
2004-07-06 04:18:02 +00:00 |
|
Doug MacEachern
|
025f551291
|
add properties methods
|
2004-07-06 04:17:39 +00:00 |
|
Doug MacEachern
|
22338e6682
|
more fqdn logging
|
2004-07-06 03:01:50 +00:00 |
|
Doug MacEachern
|
3078f148b1
|
extend SigarTestCase
use getSigar method
|
2004-07-06 02:41:05 +00:00 |
|
Doug MacEachern
|
14f719659d
|
use getSigar method.
rid traceln("").
|
2004-07-06 01:21:03 +00:00 |
|
Doug MacEachern
|
ede1876709
|
add newline to output if verbose
|
2004-07-06 01:14:28 +00:00 |
|
Doug MacEachern
|
99cc7b2f68
|
add getSigar method that enables logging if verbose
|
2004-07-06 01:12:06 +00:00 |
|
Doug MacEachern
|
579cb164af
|
configure logging if verbose
|
2004-07-06 01:10:33 +00:00 |
|
Doug MacEachern
|
a96ad26012
|
add some logging to sigar_fqdn_get
|
2004-07-06 01:00:14 +00:00 |
|
Doug MacEachern
|
6cc0af0968
|
more testing
|
2004-07-06 00:15:39 +00:00 |
|
Doug MacEachern
|
992f277423
|
proc_modules impl for self process
|
2004-07-05 22:49:21 +00:00 |
|
Doug MacEachern
|
51eb79a392
|
proc_modules impl
|
2004-07-05 22:28:31 +00:00 |
|
Doug MacEachern
|
13d1d102f8
|
add some log helpers
|
2004-07-05 22:23:03 +00:00 |
|
Doug MacEachern
|
4310cba4c7
|
for hardware model
|
2004-07-02 23:02:04 +00:00 |
|
Doug MacEachern
|
408fae9b1a
|
aix needs to link against libodm and libcfg to use ODM
|
2004-07-02 22:56:33 +00:00 |
|
Doug MacEachern
|
3575b1319f
|
add routine to get hardware model using ODM
|
2004-07-02 22:55:59 +00:00 |
|
Doug MacEachern
|
ad495656ee
|
fix tyop
|
2004-07-02 16:12:52 +00:00 |
|
Doug MacEachern
|
8a9bb2b7c9
|
add detection for newer cpu models not included in the 4.3 systemcfg.h
|
2004-07-02 16:09:58 +00:00 |
|
Doug MacEachern
|
ebc80f9357
|
adjust model name
|
2004-07-02 02:52:51 +00:00 |
|
Doug MacEachern
|
5934d4bfc4
|
more cpu model name fixups
|
2004-07-02 02:46:37 +00:00 |
|
Doug MacEachern
|
060bf3b805
|
more cleanup of the cpu model name
|
2004-07-02 02:12:29 +00:00 |
|
Doug MacEachern
|
f2c8a004c1
|
some cpu models for reference
|
2004-07-02 02:08:55 +00:00 |
|
Doug MacEachern
|
1b8ad7de8f
|
trim leading whitespace regardless of (R)
|
2004-07-02 01:38:17 +00:00 |
|
Doug MacEachern
|
f56206bbca
|
remove cpu vendor name from model name
|
2004-07-02 01:37:01 +00:00 |
|
Doug MacEachern
|
2168c3b578
|
adjust cpu model name
|
2004-07-02 01:27:04 +00:00 |
|
Doug MacEachern
|
77b2883e1e
|
prefer ProcessorNameString to Indentifier for cpu model name
|
2004-07-02 01:26:45 +00:00 |
|
Doug MacEachern
|
4df7191361
|
add function to cleanup cpu model name
|
2004-07-02 01:25:35 +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
|
6caf990fc8
|
add dir where sigar.jar lives to search path
|
2004-07-01 01:09:23 +00:00 |
|
Doug MacEachern
|
5df1139c53
|
use sigar.jar as a file to test with
|
2004-07-01 01:03:04 +00:00 |
|
Doug MacEachern
|
a2c655476c
|
use super.println so redirection works
|
2004-07-01 00:53:38 +00:00 |
|
Doug MacEachern
|
1de970d911
|
older /proc/stat w/o cpu\d
|
2004-07-01 00:44:32 +00:00 |
|
Doug MacEachern
|
1bbf237912
|
fix compile error w/ older gcc
|
2004-07-01 00:41:03 +00:00 |
|
Doug MacEachern
|
08db86db3a
|
add command to view process modules
|
2004-06-30 22:44:55 +00:00 |
|
Doug MacEachern
|
ddc2874791
|
fix winnt flag
|
2004-06-30 22:43:48 +00:00 |
|
Doug MacEachern
|
1c32c2acc9
|
fix off-by-one bug in proc_args
|
2004-06-30 21:20:19 +00:00 |
|
Doug MacEachern
|
771742caf9
|
fix dir_stat_get, was missing the first file
|
2004-06-30 00:37:46 +00:00 |
|
Doug MacEachern
|
018f634896
|
proc_modules impl
|
2004-06-29 02:23:58 +00:00 |
|
Doug MacEachern
|
2672fc8219
|
include lib/*.jar in the dist
|
2004-06-23 06:06:53 +00:00 |
|
Doug MacEachern
|
8e65e1e10e
|
bump version
|
2004-06-23 05:33:51 +00:00 |
|
Doug MacEachern
|
f0b267957a
|
NT does not have a Processor _Total perf counter instance
|
2004-06-23 05:21:13 +00:00 |
|
Doug MacEachern
|
263b68ba53
|
better cpu vendor guess if x86
|
2004-06-23 02:32:38 +00:00 |
|
Doug MacEachern
|
300094d65d
|
also remove 'Authentic' if vendor is AMD
|
2004-06-23 01:10:40 +00:00 |
|
Doug MacEachern
|
cb27ce6b1f
|
change cpu_info vendor to 'Intel' instead of 'GenuineIntel'
|
2004-06-23 01:00:51 +00:00 |
|
Doug MacEachern
|
903fabc3e4
|
remove malloc casts
|
2004-06-22 23:44:46 +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
|
903c369671
|
dont hardcode 2 logical processors if ht_enabled
|
2004-06-22 19:22:50 +00:00 |
|
Doug MacEachern
|
003d416408
|
fix get_perf_object error handling.
morg experienced an ERROR_BUSY which crashed the agent, this is properly
handled now.
|
2004-06-22 17:51:38 +00:00 |
|
Doug MacEachern
|
a23ff178db
|
add winnt flag and use it in proc_modules
|
2004-06-22 17:15:10 +00:00 |
|
Doug MacEachern
|
bfff8bc922
|
test ProcModules
|
2004-06-22 06:14:33 +00:00 |
|
Doug MacEachern
|
d034a2a16e
|
add getProcModules
|
2004-06-22 06:14:12 +00:00 |
|
Doug MacEachern
|
efed7c955f
|
proc_modules wrapper
|
2004-06-22 06:13:26 +00:00 |
|
Doug MacEachern
|
aeeb51e25c
|
proc_modules impl
|
2004-06-22 06:12:51 +00:00 |
|
Doug MacEachern
|
3fd81bf749
|
decls for new proc_modules functions
|
2004-06-22 06:11:38 +00:00 |
|
Doug MacEachern
|
fc5bf90b3c
|
test bogus queries too
|
2004-06-22 02:27:51 +00:00 |
|
Doug MacEachern
|
18c8735ce3
|
catch ArrayIndexOutOfBoundsException and NumberFormatException
|
2004-06-22 02:27:32 +00:00 |
|
Doug MacEachern
|
6ff4fa8435
|
use IS_WIN32 constant from SigarLoader
|
2004-06-22 02:06:35 +00:00 |
|
Doug MacEachern
|
dbcc74c199
|
test reuse
|
2004-06-22 01:30:42 +00:00 |
|
Doug MacEachern
|
e964155cd6
|
fix cpu_list bug
|
2004-06-22 01:29:47 +00:00 |
|
Doug MacEachern
|
f4f3fa05fb
|
bump version number
|
2004-06-21 23:20:33 +00:00 |
|
Doug MacEachern
|
c1429b68b8
|
use SynchronizedSigar for getInstance
|
2004-06-21 23:16:02 +00:00 |
|