On 04/06/2014 04:12, Andrew Kerber wrote:
ps -e -o="CMD" | grep smon|grep -v grep| awk -F "_" '{print$3}'
I don't have access to an AIX box, but something like this should work: ps ... | grep [s]mon | cut -d_ -f3- If pgrep is available: pgrep -lf smon | cut -d_ -f3- Regards Dimitre -- //www.freelists.org/webpage/oracle-l