session

Session From Hackepedia

In BSD one can see session and process group as well as pid and parent pid with the following command:

$ ps jax