Re: lug-bg: getppid( $pid ) ?
- Subject: Re: lug-bg: getppid( $pid ) ?
- From: yuliy@xxxxxxxxxxxx (Yuliy Minchev)
- Date: Tue, 10 Oct 2000 12:04:58 +0200 (EEST)
On Tue, 10 Oct 2000, Milen Metodiev wrote:
zashto da ne e portable?
traibva da se promeniat samo 2-3 simovala v celia file?
ako tolkova iskash tova da stava bez praika intervenicia
vzemi si edin configure script koito da ti proveriava za tipa na OS
i da ti pravi Makefile
i posle
samo:
make;make install
i tva e
yuliy
> :)
> 10x,
> no, naprimer na AIXa, koqto e ednata ot OS-ite, na koito shte se polzwa
> skripta, komandata e
> ps -ef
>
> HP-to pyk naprawo se kara, che nqmalo user "x", kato mu pusnesh "ps -aux"
> :))
>
> taka ne e portable :(
>
>
> Best regards,
> Milen
>
>
> At 10:01 10/10/2000 +0200, you wrote:
> >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
>
> ==================================================================
> 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
|