Commit Graph

2319 Commits

Author SHA1 Message Date
Doug MacEachern 2ac98124c8 no getuser() in 64-bit mode 2007-05-11 18:45:41 +00:00
Doug MacEachern fa69ed85df fix aix 64-bit mode compile 2007-05-11 15:50:31 +00:00
Doug MacEachern b1ae2b2f24 RLIMIT_AS is RLIMIT_RSS on MacOSX 10.3.x 2007-05-11 14:42:41 +00:00
Doug MacEachern a3410ce4d4 HP-UX does not have strtoull
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-05-10 15:25:14 +00:00
Doug MacEachern 994642cd26 Improve 64-bit detection
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-05-10 15:05:34 +00:00
Doug MacEachern 3fe0a04cc5 Fix integer overflow in sigar_uptime_string 2007-05-10 13:49:03 +00:00
Doug MacEachern 741c1ae7c5 bring back ptql shell completion 2007-05-05 14:35:10 +00:00
Doug MacEachern e5ddd9d63d ptql -> ps 2007-05-05 13:52:13 +00:00
Doug MacEachern 60be6b1151 [SIGAR-56] Fix dir_usage.total 2007-05-04 14:47:27 +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 8772228ceb un-static proc_args_create 2007-04-22 19:57:34 +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 09c4138dbd make sigar_proc_args_get a wrapper 2007-04-22 05:37:39 +00:00
Doug MacEachern ad433cf375 make sigar_proc_list_get a wrapper 2007-04-22 03:54:04 +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 e4981c4d5c fix re cleanup 2007-04-22 02:27:12 +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 697412d938 make pid lookup reuseable 2007-04-21 17:27:44 +00:00
Doug MacEachern c4a3f548e2 use getpagesize() instead of sysconf 2007-04-21 15:33:03 +00:00
Doug MacEachern 67a86f31d7 use getpagesize() instead of PAGE_SHIFT 2007-04-21 15:30:14 +00:00
Doug MacEachern 5a6526f0aa Fix AIX 5.2 compile where rpcsvc/nfs_prot.h might not exist
Submitted by: Jan Kneschke <jan.kneschke@mysql.com>
2007-04-19 14:49: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 aa4e73c437 allow setting of sigar_strerror 2007-04-15 23:06:57 +00:00
Doug MacEachern 4c6a988854 refactor to support .re with Args and Env 2007-04-15 21:31:58 +00:00
Doug MacEachern 428e7839fe dont sort queries when reference is used 2007-04-15 20:00:30 +00:00
Doug MacEachern 1ca7d3227f set Pid.Service flag regardless of platform 2007-04-15 19:49:01 +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 578b7607db fold sigar_proc_count into sigar_proc_stat_get 2007-04-14 21:28:17 +00:00
Doug MacEachern 405e95e6bb move sigar_proc_stat_get to sigar.c 2007-04-14 21:25:20 +00:00