[Info-vax] How to retrieve the process PID from a perl script running on VMS

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Fri Jan 13 17:59:14 EST 2012


samizahra wrote 2012-01-13 19:52:
> also how to replace this linux line in VMS
>
> my($pid) = fork();
>
> thanks
> sami


 > How to retrieve the process PID from a perl script running on VMS

$ current_pid = f$getjpi("","PID")
$ show symbol current_pid
   CURRENT_PID = "00000CCE"
$


There is no fork() on VMS.
Use some VMS-method to solve your problem.



More information about the Info-vax mailing list