Yep that's one way.

How do you find out what process details (uid, gid, terminal id, command line, 
environment variables)
are apart from just `ls /proc'

I should have said a UNIX system api call like the "mntent()" call that
exists that allows you to read UNIX mount table environment.

Is there such thing as `psent()' call?

--
Peter Pilgrim
G.O.A.T
                    "The Greatest of All Time"



---------------------------------------- Message History 
----------------------------------------


From: Lopez Jose Ariel <[EMAIL PROTECTED]> on 21/11/2000 10:09 NST

To:   Peter Pilgrim/DMGIT/DMG UK/DeuBa@DMG UK
cc:   [EMAIL PROTECTED]
Subject:  Re: How do you get to process list ?(ps auwwx in Java)


Peter:
     You can read /proc filesystem for that
Try info /proc for more information
Ariel Lopez

On Tue, 21 Nov 2000, Peter Pilgrim wrote:

>
>
> Hi
>
> I am considering writing a JNI to the process list.
> How do you do this in Linux/Unix?
>
> --
> Peter Pilgrim
> G.O.A.T
>                     "The Greatest of All Time"
>
>
>
> --
>
> This e-mail may contain confidential and/or privileged information. If you are not 
>the intended recipient (or have received this e-mail in error) please notify the 
>sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
>distribution of the material in this e-mail is strictly forbidden.
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>






--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to