pid
system.pid
{Number}
Introduced: PhantomJS 1.8 Read-only. The PID (Process ID) for the currently executing PhantomJS process.
Examples
var system = require('system');
var pid = system.pid;
console.log(pid);
system.pid
{Number}
Introduced: PhantomJS 1.8 Read-only. The PID (Process ID) for the currently executing PhantomJS process.
var system = require('system');
var pid = system.pid;
console.log(pid);