Hello all,
I am using a berkley ps to look at the processes running for a particular user, pipe the output to grep to look for a specific process - works fine but this is returning all the processes that match the word like a pattern matching but not the exact match. Let me give an example so that people don't get annoyed
/usr/ucb/ps -auxww netuser | grep abc.ini
I expect to see the Process ID just for abc.ini and not some additional ones like XYZ-abc.ini, zzz-abc.ini
I tried grep -w for an exact word but that didn't help either. So, what I am missing here?
I am using a berkley ps to look at the processes running for a particular user, pipe the output to grep to look for a specific process - works fine but this is returning all the processes that match the word like a pattern matching but not the exact match. Let me give an example so that people don't get annoyed

/usr/ucb/ps -auxww netuser | grep abc.ini
I expect to see the Process ID just for abc.ini and not some additional ones like XYZ-abc.ini, zzz-abc.ini
I tried grep -w for an exact word but that didn't help either. So, what I am missing here?