Reputation: 2139
I see that activity Monitor doesn't have "session ID" column as we can see in task Manager on Windows. How to get session ID for particular process using terminal in OS X?
Upvotes: 2
Views: 3576
Reputation: 1420
You can run in terminal:
ps -p [process pid] -o sess=
Please replace [process pid]
by your process id
Upvotes: 2