[96174] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Where to find killproc

daemon@ATHENA.MIT.EDU (Ray Curtis)
Sat Oct 24 22:22:07 1998

Date: Sat, 24 Oct 1998 22:21:07 -0400 (EDT)
From: Ray Curtis <ray@ray.clark.net>
To: redhat-list@redhat.com
In-Reply-To: <199810250202.WAA11288@tautog.netquarters.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

>>>>> "crw" == Christopher Robert Woods <chris@netquarters.net> writes:

crw> Hello all, finally after about a year and a half away I am back with 
crw> Linux.  Much funner now too since it is on my little home network 
crw> and not just a standalone machine.

crw> Quick question, in my research of Samba, I came across a shell 
crw> script that would kill smbd nmbd and restart them using a killproc 
crw> command.

crw> Forgive my ignorance, but what package (rpm or other) should I 
crw> look for this tool in?  Or am I totally missing something obvious....

crw> I scoured sunsite but none of the tgzs I found looked like they 
crw> would be the guilty party.


To kill and restart most process's take a look at /etc/rc.d/init.d for 
the service, then do as root:

./smb restart 

These are just scripts, so read the scripts to so exactly what they
do, you can do a stop, start or restart of most services from here.

-- 
Ray Curtis         Unix Programmer/Consultant   Curtis Consulting
mailto:ray@ray.clark.net                        http://www.clark.net/pub/ray
============================================================================


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post