Peter Pilgrim wrote:

> Hi
>
> I am considering writing a JNI to the process list.
> How do you do this in Linux/Unix?

Most such things are done on Linux using information available from the /proc 
filesystem - you should be able to write a very thorough ps, just by reading from that 
filesystem without having to go anywhere near JNI code. The "proc" man page has a good 
intro, and you may want to grab the source for ps (available at a
Linux distro near you) to see how they do it.

Nathan

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


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

Reply via email to