Perl Home
PERL Functions
© 2011 TutorialsPoint.COM
|
PERL getppid Function
Syntax
Definition and Usage
Returns the process ID of the parent process.
Return Value
Example
Try out following example:
#!/usr/bin/perl
$ppid = getppid();
print "Parent Process ID $ppid\n";
|
|

|
|
|