I open and connect an ssh terminal window shell to my server and run this:
nohup sleep 50000 & When I then run ps I see this:
PID TTY TIME CMD 1 ? 00:00:00 bash 56 ? 00:00:00 sleep 148 ? 00:00:00 ps Now while I am still connected to first shell session and using same credentials as first session, I open up a second ssh terminal window shell to my server and run ps again and I see this:
PID TTY TIME CMD 1 ? 00:00:00 bash 86 ? 00:00:00 ps How can I see the nohup processes that were started from the first shell session in the second shell session (assuming that I do NOT know the PID)? Or more generally, how can I see all nohup processes that are running that were started in other shells/sessions?
EDIT: Note that I also tried opening up a new shell/session with root user credentials and I still do not see the sleep process when using ps from here either.

