EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Shell Scripting ]

"Another Process Finder" - Ülkü SAYILAN - (2004-06-19 17:05:42)   [4188]

Another Process Finder

psfind command:

Here is a quick script that you can use to filter the list of active processes to only those that contain a specified string.

Edit into the file

/usr/local/bin/psfind

ps -ef|grep -i $1|grep -iv grep

Change permissions so that it is executable

#chmod a+x,go-w /usr/local/bin/psfind

Use it:

#/usr/local/bin/psfind isolog

Mail to My Friend , Home Page