Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: question


  • Subject: RE: lug-bg: question
  • From: boukov@xxxxxxxxxxx (Petko Boukov)
  • Date: Sun, 2 Sep 2001 18:51:02 -0700

 ('binary' encoding is not supported, stored as-is)
Ako ti pishesh programata na C ili Perl, polzvaj fumkciqta alarm i
prihvani SIGALRM signala. Tq raboti kato budilnik - vse edno j
kazvash: 'Zvynni mi sled dve sekundi.' Syzhalqvam, che nqmam man stranicata pod ryka, ama sym s malko osakatena beta versiq na noviq Mandrake.

Ako samo vikash programata ot tvoj script, trepi q vinagi pyrvo sys
SIGTERM, za da j dadesh vyzmozhnost (ako e umno napravena) da si
zatvori file-ovete. Ako ne shte da mre, chak togava j puskash SIGKILL.
Proveri obache v tozi sluchaj (s strace naprimer) dali ne se nalaga ti 
da pochistvash sled neq - opashki v pametta, pid file-ove, vremenni
file-ove i pr.

Petko

> sylon@gmx.netDate: Sun, 2 Sep 2001 22:02:28 +0200 (MEST)
> lug-bg@xxxxxxxxxxxxxxxxxx lug-bg: questionReply-To: lug-bg@xxxxxxxxxxxxxxxxxx
>
>Zdraveite,
> Mozete li da mi kazete kak moga
>da startiram niakakva programa, kato
>obache i zadam vremevi limit? Naprimer
>startiram programata "prog" i iskam sled
>2 sekundi, ako ne prikluchila rabotata i
>da se spre sama.

------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.