|
Re: lug-bg: pid.file
- Subject: Re: lug-bg: pid.file
- From: viktor@email.domain.hidden (viktor)
- Date: Mon, 14 Apr 2003 02:38:05 +0200
zdrasti,
Marian Popov wrote:
<em class="quotelev1">> Pisha si edin script i za celta mi triabva da znam kyde e pid faila
<em class="quotelev1">> na dadeno prilojenie koeto raboti v momenta za da moga da go cheta.
<em class="quotelev1">>
<em class="quotelev1">> Da obache tochno tova prilojenie ne moga da mu dameria pid faila.
na "tochno tova prilojenie" i na men mi e trudno da mu namerq .pid file
:) vyzmojno e razbira se i da ne syzdava takyv file. ako v
dokumentaciqta ne pishe, moje da probvash sys strace da vidish dali si
syzdava. v kraen slu4aj moje da pribegnesh do scriptove ot roda na
(vzeto ot skoroshnata diskusiq za X i nice):
pidof progname
ps -e|grep pidof|grep -v grep|awk '{ print $1}'
ycnex!
viktor
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|