In my rails console:
$$ #=> 12680
in IRB in other tab:
$$ #=> 15550
What does $$ stands fo
$$
From "Ruby Programming/Syntax/Variables and Constants":
$$ - $PROCESS_ID, $PID or Process.pid - The process number of the Ruby running this script.