Re: lug-bg: getppid( $pid ) ?
- Subject: Re: lug-bg: getppid( $pid ) ?
- From: yuliy@xxxxxxxxxxxx (Yuliy Minchev)
- Date: Tue, 10 Oct 2000 10:01:04 +0200 (EEST)
On Mon, 9 Oct 2000, Milen Metodiev wrote:
hi
ami ti otreche dva ot nachinite chrez koito tova moje da stane
shte ti predloja i treti, makar che predpolagam che i toi naima da ti
haresa
open PS,"ps -aux|";
while(<PS>)
......
lichno za men po-dobro reshenie ot obratnite kavichki niama v sluchia
ako traibvashe da si go pisha sam
yuliy
> Zdrawejte,
>
> Syzhalqwam, che wi prekyswam diskusiqta, no imam tuka edno wyprosche, koeto
> ne e mnogo po temata, no wse pak shte go zadam. Ta w Perl mi trqbwa da si
> imam PPID-to na nqkoj (neka se smqta proizwolen) proces. Tyj kato getppid
> ne tyrpi whodni parametri, mozhe li da mi podskazhete kak naj-elegantno da
> si polucha towa PPID? Zhelatelno e da e samo s wyzmozhnostite na Perl -
> biblioteki i obekti. Izkluchwa se wyzmozhnostta za poluchawaneto mu chrez
> system i izpylnimi kawichki. PS bibliotekata pyk, koqto se downloadwa
> dopylnitelno neshto se dyni i ne wyrwi na wsichki unix-i, koito imamne.
>
> Predwaritelno blagodarq!
>
> Milen.
> ==================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>
>
--
Yuliy Minchev,
Systems Administrator
NOAC Bulgaria
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|