RE: lug-bg: KPPP KILL (P.S.)
- Subject: RE: lug-bg: KPPP KILL (P.S.)
- From: bkrosnov@xxxxxxxx (Boyan Krosnov)
- Date: Mon, 27 Aug 2001 23:51:19 +0300
10x za razqsnenieto, ne bqh tolkowa informiran za towa wzaimodejstwie
m/u procesa i roditelq mu :)
BR,
Boyan
> -----Original Message-----
> From: George Danchev [mailto:danchev@xxxxxxxxx]
> Sent: Monday, August 27, 2001 11:47 PM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: Re: lug-bg: KPPP KILL (P.S.)
>
>
> On Monday 27 August 2001 22:48, you wrote:
> > po moite razbiraniq zombie e neshto koeto e weche myrtwo ama wypreki
> > towa myrda :)
> > takiwa neshta trudno se trepqt
> >
> > e ne che razbiram ot zombita i drugi podobni prostotii ama :)
> >
> > BR,
> > Boyan
>
> MRE, MRE :)
> az odeve misleh, ama neznam kak zabraih da go napisha :)
>
> zombie process e terminiral ve4e process, NEzaemast nikakuv
> sistemen resurs.
> Ili nqkoj go e kill-nal ili toj sam e izvikal sistemnoto
> povikvane exit()
> oba4e _parent_ process-a kojto go e syzdal oste ne znae 4e
> child-a e dead.
> informaciq za exit statusa na zombito se pazi v edna tablica
> na procesite
> (za Unices e sysent[ ] - struktura v pametta, v koeto se
> pazqt instrukcijte
> dokato procesora _ska4a_ ot zada4a na zada4a), ot kudeto
> _parenta_ ste q
> pro4ete (nqkoga/nikoga). Da oba4e ponqkoga _parent_ zakusnqwa
> po nqkakva
> pri4ina da se informira po vyprosa (4aka rezultat ot drugi
> procesi - mozhe i
> ve4no da si 4aka) , i za tova mozhe da se predpriemat nqkoj
> po-drasti4ni
> merki sprqmo nego :
> sledva nakazanie
>
> zombie process se kill-va naj-lesno sled kato se kill-ne
> negoviq _parent_ process.
>
> #view process hierarchy
> ps -fauwx
> #lesno se vizhda ierarhiqta- koi sa parents i koi childs
> # po zombito-child namirame negoviq parent i boj :)
>
> kill -9 PID_of_zombie_parent_process
>
> ili
>
> (hangup to init nqma losho ot malko profilaktika, bit
> trqbvalo da o4isti
> vsi4ki zombita :)
> kill -s SIGHUP 1
>
>
> P.S. Tova e gore dolu intrigata
> Dali 4eteneto na _izlishni docs_ e vredno ? :)
>
> ==============================================================
> =============
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd.
> - Stara Zagora
>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|