Hello,
I want to grep a specific process named "TEST" in AIX but not only is it showing what I want but also listing others that have the similar name. How can I only list "TEST"? I've tried using options grep -w with no change and grep -o isn't supported in my environment.
Please advise.
Output I'm getting:
I want to grep a specific process named "TEST" in AIX but not only is it showing what I want but also listing others that have the similar name. How can I only list "TEST"? I've tried using options grep -w with no change and grep -o isn't supported in my environment.
Please advise.
Output I'm getting:
HTML Code:
# ps -ef | grep 'SYS.TLOCK.* TEST'
root 6354813 1 0 02:17:01 - 0:00 phantom SYS.TLOCK.BLANKET.RELEASE TEST-23
root 21546512 1 0 02:17:01 - 0:00 phantom SYS.TLOCK.BLANKET.RELEASE TEST
root 57813454 1 0 02:17:01 - 0:00 phantom SYS.TLOCK.BLANKET.RELEASE TEST-RED