🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2078

How to get the process Id?

#2078
From: Fred
Date: Wed, 06 Jun 2001 13:01
13 lines
1317 bytes
Hi,

I would like to get the process Id. Is there a way to do that in Java? I
can't find any...

If not, how can I get a unique number representing a process on a machine.

The idea is to launch several same programs on a machine, and following a
broadcast message, the programs keep the message corresponding to their
process.

Thanks,
Fred.
Technical Details
Message-ID: <5RpT6.4766$Tk1.6436999@nnrp4.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,ed42b38ef2866f51,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-06-06 06:01:53 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!feeder2-1.proxad.net!nnrp4.proxad.net.POSTED!not-for-mail
From: "Fred" <frederic.malabre@lunalogic.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: How to get the process Id?
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <5RpT6.4766$Tk1.6436999@nnrp4.proxad.net>
Date: Wed, 06 Jun 2001 13:01:53 GMT
NNTP-Posting-Host: 141.155.107.244
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp4.proxad.net 991832513 141.155.107.244 (Wed, 06 Jun 2001 15:01:53 CEST)
NNTP-Posting-Date: Wed, 06 Jun 2001 15:01:53 CEST
Organization: Guest of ProXad - France