|
Re: lug-bg: Apache+pl
- Subject: Re: lug-bg: Apache+pl
- From: ntk@xxxxxxxxxx (Nikolay Kabaivanov)
- Date: Wed, 28 Mar 2001 12:48:48 +0300
Ako goworim specialno za primera ti sus portslave ne e nuzno da se prawi
HUP
Ako celta ti e da se killvat zabili modemi ili portslave to kolegata mi
e
naprawil skriptche koeto se puska prez 5-10 min chrez /etc/crontab
---------------------------
#!/bin/bash
#This program is made by MiM0
#
/bin/kill `ps auxw |/bin/grep portslave |/bin/grep -v "grep" |/bin/awk
'{printf("%-6s",$2)}'`
----------------------------
Na men mi vurshi rabota
Hristo Nazarov wrote:
>
> Zdrawejte...
> Iskam da pusna skript koto da se runwa kato root (da moze da prawi kill -HUP
> proces....)..
> towe e output ot ps...
> root 17020 0.0 2.5 1492 772 ? S Mar27 0:00
> /usr/local/sbin/portslave 0
>
> Da moze da prawi towa kill -HUP 17020...Da moze da killwa takiwa
> procesi..towa e prosto primer...
> edinia nachin e da se precompilira cialoto apache...i to samoto da se runwa
> kato root, ama horata ne go preporachwat...Za drugo ne se sehtam...
> Niakakwi idei...
> Pozdrawi
> Hristo NAzarow
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
--
__________________________________
Nikolay Kabaivanov, ntk@xxxxxxxxxx
University of Rousse, Bulgaria
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|