Q: getting my own process id? 
Author Message
 Q: getting my own process id?

Quote:

> What is the easiest way for a perlscript to get it's own process id?

See the entry for $$ in the perlvar manpage. Cheers!

--
Tom Phoenix       Perl Training and Hacking       Esperanto
Randal Schwartz Case:     http://www.*-*-*.com/



Wed, 18 Jun 1902 08:00:00 GMT  
 Q: getting my own process id?

Quote:

> What is the easiest way for a perlscript to get it's own process id?
> Running on linux or unix.

Please make a habit of reading the documentation rather than asking
really basic questions.

perldoc perlvar

{Bryan}
--

SRTM/GDPS System Administrator
Jet Propulsion Laboratory, Pasadena CA, USA



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Q: getting my own process id?

2. Forking processes (getting child process id)

3. Getting Process ID of new process in system call

4. Getting Process ID of new process in system call

5. Getting the parent process id in perl???

6. trouble getting process ID's

7. getting process id from open on NT

8. Getting process id

9. to get the process ID of a running process

10. Process id for fork()ed process

11. Getting id for MSSQL2000 newly inserted record

12. Getting Autonumber ID after insert

 

 
Powered by phpBB® Forum Software