What exactly do you mean? like this check=`ps | grep BLA` if [$check==BLABLA] then; Do Stuff fi not sure of syntax sorry On Tue, 9 Nov 2004 14:54:16 -0600, evolt at mccullough-net.com <evolt at mccullough-net.com> wrote: > I'm looking for an example shell script that is written to grep for an apache > process that is running if it finds it its fine, if not then it restarts > apache. > > any thoughts or has anyone seen one of those in their travels? > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > -- Holiday Apartments in Ireland < http://holidayapartment.f-m.fm > Coding World < http://codingworld.proboards27.com >