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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

AW: lug-bg: getppid( $pid ) ?


  • Subject: AW: lug-bg: getppid( $pid ) ?
  • From: i.kolemanov@xxxxxxxx (ISM Kolemanov, Ivan)
  • Date: Tue, 10 Oct 2000 11:00:58 +0200



izpolzvaj "Proc::ProcessTable" modula

ex. get a list of the process IDs and owners:

use Proc::ProcessTable;
$obj = new Proc::ProcessTable;
$proctable = $tobj->table();
for (@$proctable){
  print $_->pid."\t". getpwuid($_->uid)."\n";
}

nadqvam se da svarshi rabota

Pozdravi,
Ivan Kolemanov

> 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
> 
> 
==================================================================
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



 

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

 

линукс за българи
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.