Commit Graph

698 Commits

Author SHA1 Message Date
Doug MacEachern 741c1ae7c5 bring back ptql shell completion 2007-05-05 14:35:10 +00:00
Bjoern Martin 6662294a7f fixed formatting (tabs to spaces, version from 1.4 to 1.5, general formatting)
added MBean for "LoadAverage"
2007-05-01 20:26:42 +00:00
Bjoern Martin 3471b84099 added skeleton ant.jar to unify classpath
added MBean impl for Swap
fixed several MBeanConstructorInfo specs (were reporting SigarCpu as class)
fixed possible (de)registration problem in registry bean (was not handling ObjectInstances correctly)
2007-04-29 18:59:13 +00:00
Bjoern Martin 36434a0a23 added AbstractMBean (base class for all Sigar MBeans)
added MBean impls for Cpu, CpuPerc, CpuInfo and Mem
added SigarRegistry MBean (auto-registers a default set of MBeans when registered to/created by an MBeanServer)
2007-04-29 18:13:47 +00:00
Doug MacEachern a8f28f2ee0 ProcessQueryFactory changes 2007-04-23 00:49:36 +00:00
Doug MacEachern 50a7f2dbe3 add another test 2007-04-23 00:21:07 +00:00
Doug MacEachern 983cb0d831 assert Pid.Pid.eq=$$ matches 1 process 2007-04-22 18:30:04 +00:00
Doug MacEachern 6da1470043 fix ptql_query_find 2007-04-22 17:54:36 +00:00
Doug MacEachern 1745dcf5d4 rename find_processes -> find 2007-04-22 03:16:38 +00:00
Doug MacEachern a6a44e183a remove unused imports 2007-04-22 03:13:07 +00:00
Doug MacEachern 845bac4c29 rid eclipse warning 2007-04-22 03:12:52 +00:00
Doug MacEachern f469e054ea remove ProcessFinder usage 2007-04-22 02:28:58 +00:00
Doug MacEachern e46b6e8e8a s/SigarProxy/Sigar/g 2007-04-22 00:50:17 +00:00
Doug MacEachern 0d8c2d6014 add method to clear cache 2007-04-22 00:46:40 +00:00
Doug MacEachern 6002e9b892 add finder methods to ProcessQuery interface 2007-04-22 00:24:25 +00:00
Doug MacEachern 4de6d48008 remove process finder SigarProxy usage 2007-04-22 00:21:00 +00:00
Doug MacEachern 439f1eab1c simplify process finder exceptions 2007-04-22 00:10:16 +00:00
Doug MacEachern 10d50d8916 move proxy usage to ProcessFinder 2007-04-21 23:56:43 +00:00
Doug MacEachern 8c102842b7 remove unused 2007-04-21 23:53:08 +00:00
Doug MacEachern 503298c5cd move ProcessFinder.find to native code 2007-04-21 22:48:20 +00:00
Doug MacEachern 2d0943c5a6 deprecate findSingleProcess 2007-04-21 22:35:27 +00:00
Doug MacEachern 1fc3061a58 Avoid scanning the process list for single Pid.* queries 2007-04-21 18:17:06 +00:00
Doug MacEachern a1a9f3f494 add native single process finder 2007-04-21 18:04:47 +00:00
Doug MacEachern ff7fd11fac move to native ptql impl 2007-04-16 01:35:12 +00:00
Doug MacEachern 3ffa2335c3 remove ptql shell command 2007-04-16 01:14:56 +00:00
Doug MacEachern 2bb854483f improve native ptql exception messages 2007-04-15 23:26:09 +00:00
Doug MacEachern 886f04adea rid compile warnings from modern gcc 2007-04-15 15:58:09 +00:00
Doug MacEachern 9a04924df3 fold java CurrentProcessSummary metric into sigar_proc_stat_t 2007-04-14 22:28:25 +00:00
Doug MacEachern d61d564c9b test getenv 2007-04-14 18:16:15 +00:00
Doug MacEachern af28b1e2d9 fix javadoc 2007-04-14 14:31:20 +00:00
Doug MacEachern d272e88b2d fix serialVersionUID on 64-bit systems 2007-04-11 00:46:53 +00:00
Doug MacEachern d0e4824949 better cmd toString 2007-04-09 19:50:32 +00:00
Doug MacEachern d53c03ec3d only create one ProcFileMirror 2007-04-07 12:47:33 +00:00
Doug MacEachern 2ab9ea67a6 use mirrored file mtime for timestamp 2007-04-07 12:45:26 +00:00
Doug MacEachern 2329d9b7f5 add constant for 1.4 compat, use to skip ipv6 addr 2007-04-07 03:00:26 +00:00
Doug MacEachern ba8d344da5 disable Pid.*.ne queries 2007-04-07 01:36:18 +00:00
Doug MacEachern 5159ce22bb add more ptql tests 2007-04-07 01:23:58 +00:00
Doug MacEachern 43ffe1cc1a 0.0.0.0 == * 2007-04-06 16:23:19 +00:00
Doug MacEachern 84f5dd1ca5 test stuff 2007-04-06 14:03:29 +00:00
Doug MacEachern 4a9e360914 add primary interface info 2007-04-06 13:54:42 +00:00
Doug MacEachern 873849d4aa replace getNetListenAddress with native function 2007-04-06 13:47:02 +00:00
Doug MacEachern 86deb1a2d9 Add net_stat_port function to provide metrics on specific port+address 2007-04-06 05:05:37 +00:00
Doug MacEachern 9d528d6d78 move some errno mappings to sigar.h 2007-04-05 15:49:17 +00:00
Doug MacEachern 0e48e92124 allow null Strings to pass thru 2007-04-05 15:27:23 +00:00
Doug MacEachern 3c82da72c2 unicode-ize 2007-04-05 15:06:13 +00:00
Doug MacEachern 676be63f35 test ProcFileMirror 2007-04-05 02:49:54 +00:00
Doug MacEachern 1ca37d4411 FileWatcher to mirror /proc files 2007-04-05 02:49:23 +00:00
Doug MacEachern 16a1273b70 handle versioned .jar files 2007-04-04 18:22:25 +00:00
Doug MacEachern 1092f32fe2 update proc_state.threads javadoc 2007-04-04 18:22:05 +00:00
Doug MacEachern 93ef97aaa8 Implement native sigar_proc_cpu_get function 2007-03-11 21:46:41 +00:00