[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

access to process list

Sven Bauhan

2/9/2005 11:45:00 PM

Hi,

I want to read the actual process list from inside of a ruby script. Is
there a better way than doing
proclist = `ps ax`

Thanks for hints,
Sven

1 Answer

djberg96

2/10/2005 1:30:00 AM

0


Sven Bauhan wrote:
> Hi,
>
> I want to read the actual process list from inside of a ruby script.
Is
> there a better way than doing
> proclist = `ps ax`
>
> Thanks for hints,
> Sven

Yes. See sys-proctable, available on the RAA.

Regards,

Dan