Red Hat Bugzilla – Bug 626227
process scan returns command line for basename
Last modified: 2014-06-27 16:26:07 EDT
Description of problem:
process-scan query of rhq-plugin.xml is defined as "process|basename|match=^oracle.*" Process scan correctly returns "oracle" processes on Linux, which's basenames are ora_pmon_..., ora_smon_... and so on. Same plugin run on AIX 6.1 doesn't recognize any "oracle" processes. Changing process-scan query to "process|basename|match=^ora.*" on AIX 6.1 returns ora_pmon_..., ora_smon_... and so on. "ps -eo comm,args" correctly returns "oracle ora_..." pairs as well on Linux as on AIX.
Version-Release number of selected component (if applicable):
Try process-scan query "process|basename|match=^oracle.*" on AIX 6.1
Steps to Reproduce:
Process-scan query "process|basename|match=^oracle.*" recognizes Oracle processes on Linux but not on AIX. Process-scan query "process|basename|match=^ora.*" does, probably due to command line pattern of ora_...
Process-scan query "process|basename|match=^oracle.*" to recognize Oracle processes as well on Linux as on AIX.
This was never changed. Not sure if the AIX issue went away but closing as out of date. Community submission welcome for new, better pattern if someone wants to re-open.