How to get the basic linux ps functionality in mac?
I gather the concern is that the MacOS version of ps follows BSD conventions and displays all your processes associated with any controlling terminal. Linux ps follows System V/POSIX conventions and shows your processes on the current controlling terminal.

To replicate the POSIX behavior, just run ps -T.