Display Jail IDs of Processes on a Machine With ps

You can display Jail IDs of all processes on a machine with ps command and jid option: