Ps -ef with exclude option for shell processes ID
Posted on 2006-10-30
Hi, We are using the following command to find all the processes owned by "admin" and the processes having name with SIS, ora.
ps -f |-u Admin grep [SIS] |grep -v " grep [ora\|SIS] " ,
This is listing all the process with ora and SIS and also the following which we want to avoid with shell processes like csh and ksh.
admin 400588 204800 0 13:57:50 pts/0 0:00 ksh
admin 543846 839918 0 16:28:59 pts/3 0:00 -csh
Could some body help us to fine tune the command to list out all the processes with SIS and ora and NOT to show the shell processes ?