Commit Graph

2462 Commits

Author SHA1 Message Date
Doug MacEachern bbc2a738ca helper method for better access denied to process message 2004-08-18 16:03:45 +00:00
Doug MacEachern ad85def2fb map EACCES/ERROR_ACCESS_DENIED to SigarPermissionDeniedException 2004-08-18 15:46:34 +00:00
Doug MacEachern 9ebf365efd for mapping EACCES 2004-08-18 15:46:05 +00:00
Doug MacEachern c96ab5c880 map ERROR_FILE_NOT_FOUND to SigarFileNotFoundException on win32 2004-08-18 15:32:36 +00:00
Doug MacEachern 37a7853ccc bump version 2004-08-16 04:58:30 +00:00
Doug MacEachern 922b1857b1 version 1.1.7 2004-08-16 02:14:20 +00:00
Doug MacEachern 96ac948aca need to declare getServicePid to throw SigarException 2004-08-14 22:38:57 +00:00
Doug MacEachern cfbbf3dfc7 use SigarNotImplementedException.INSTANCE 2004-08-14 04:45:42 +00:00
Doug MacEachern 61771a1596 add INSTANCE for reuse 2004-08-14 04:44:36 +00:00
Doug MacEachern c4153d2485 change throw_notimpl to throw_error 2004-08-14 04:26:42 +00:00
Doug MacEachern f2150b270e change sigar_throw_error to take jni_sigar_t param instead of sigar_t 2004-08-14 04:22:27 +00:00
Doug MacEachern e49c286171 implement getServicePid 2004-08-14 04:21:46 +00:00
Doug MacEachern 2896feb983 move getServicePid to the Sigar class so we get caching via SigarProxy 2004-08-14 00:40:37 +00:00
Doug MacEachern 0d2c62af41 test service query 2004-08-14 00:32:17 +00:00
Doug MacEachern 3f92a2dc5d hook in windows service extension for testing 2004-08-13 01:41:17 +00:00
Doug MacEachern 4defcaae4c ProcessQuery to get pid from windows service name 2004-08-13 01:24:11 +00:00
Doug MacEachern bd8ecac6c5 add experiment win32-only extension for ptql to map windows service name to pid 2004-08-13 01:21:39 +00:00
Doug MacEachern a79bb600b9 assume Xeon on redhat AS 2.1 is HT enabled 2004-08-11 22:44:38 +00:00
Doug MacEachern 2d3a408648 dont print stacktrace 2004-08-10 22:24:43 +00:00
Doug MacEachern 25887e0f4a change get_proc_info to report 'No such process' 2004-08-10 22:24:12 +00:00
Doug MacEachern b85eea0ff9 workaround issue seen on occasion w/ 2003 server in vmware.
for reasons unknown, the process perf object sometimes comes back with
the counter titles but no instances.  this would crash the agent.
2004-08-10 21:51:13 +00:00
Doug MacEachern 28b71f3651 add getter for user and sys combined 2004-08-10 04:06:41 +00:00
Doug MacEachern 5edf8ab64a change parent ClassLoader to fix problem in HQ dump-plugin-info 2004-08-10 03:43:12 +00:00
Doug MacEachern 948b456433 fix get_perf_object, ReqQuery was shrinking the sigar->perfbuf_size 2004-08-09 21:46:34 +00:00
Doug MacEachern 859db1fb9e more WebSphere finders 2004-08-04 19:26:35 +00:00
Doug MacEachern 3b8f1175fb add websphere finder 2004-08-04 05:22:33 +00:00
Doug MacEachern 6babb84507 print ex message 2004-08-04 05:18:29 +00:00
Doug MacEachern bbc1b99d32 fix proc_args when cmdline crosses first page boundry (seen w/ WebSphere) 2004-08-04 05:18:05 +00:00
Doug MacEachern 43f129a6f8 better apache finder 2004-08-03 21:28:14 +00:00
Doug MacEachern 667c4acde4 bump version 2004-08-03 03:55:12 +00:00
Doug MacEachern 9ab9e72452 version 1.1.6 2004-08-03 03:27:44 +00:00
Doug MacEachern 6676840d77 print pid before getProcArgs for troubleshooting 2004-08-03 03:25:43 +00:00
Doug MacEachern 63924059e2 rid lousy getarg parser in favor of CommandLineToArgvW 2004-08-03 03:25:17 +00:00
Doug MacEachern 2e8f6226e3 some fixes and make command line parser reusable 2004-08-03 03:18:40 +00:00
Doug MacEachern bb02117ef4 change proc_args to use CommandLineToArgvW parser 2004-08-03 03:06:25 +00:00
Doug MacEachern 042c38ae95 remove old code to get proc_args 2004-08-03 02:58:48 +00:00
Doug MacEachern b8a09c70f0 increase peb cmdline buffer size 2004-08-03 02:45:26 +00:00
Doug MacEachern df5e418f30 canonicalize proc_exe.{name,cwd} 2004-08-01 20:42:18 +00:00
Doug MacEachern d939d1763c use PEB to get the proc_exe.cwd 2004-08-01 20:31:42 +00:00
Doug MacEachern 3401932ba5 call ProcArgs and ProcExe for every pid 2004-08-01 03:00:54 +00:00
Doug MacEachern 1fbabe5767 add tomcat finder 2004-08-01 00:54:17 +00:00
Doug MacEachern a4855407d9 jboss classname might not be the last arg, match any 2004-07-30 14:58:01 +00:00
Doug MacEachern 4b6e1576fd bump version 2004-07-30 03:02:12 +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
Doug MacEachern 4e3cdb949b refactor so pgrab can be used elsewhere 2004-07-30 02:07:02 +00:00
Doug MacEachern 5d4736e043 proc_modules refactor to prevent possible phandle leaks 2004-07-30 02:02:41 +00:00
Doug MacEachern 23f6fd91b3 use libproc.so to fillin the proc_exe cwd and root fields 2004-07-30 01:57:58 +00:00
Doug MacEachern f3705ac25d refactor libproc.so fu to be used elsewhere 2004-07-30 01:46:34 +00:00