Loopy stuff
David Collier-Brown
David.Collier-Brown at canada.sun.com
Fri Jun 16 11:41:03 GMT 2000
Jim Watt wrote:
>
> --On 06/15/2000 10:16 PM +1000 David Collier-Brown wrote:
>
> [...]
> } stop() {
> } root
> } x=`ps -ef |\
> } egrep '/usr/local/samba/bin/nmbd|/usr/local/samba/bin/smbd' |\
> } egrep -v 'egrep' |\
> } awk ' {print $2}'`
> } kill $x
> }}
>
> Wouldn't be better to use the pid files and let the master
> copies kill off the kids?
In a word, yes.
---dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba
mailing list