Oracle Solaris System Administration (MOSC)

MOSC Banner

nohup

Hi,

I like to understand why nohup is not showed in ps -ef output.

nohup sleep 1000 &
[1] 13864

ps -ef|grep 13864
root 13864 13750 0 17:54:36 pts/1 0:00 sleep 1000

Here is no nohup in the output.

ps -ef|grep 13750

root 13864 13750 0 17:54:36 pts/1 0:00 sleep 1000
root 13750 13744 0 17:54:24 pts/1 0:00 -bash

Above shows that bash process is the parent of sleep.

jobs -l
[1]+ 13864 Running nohup sleep 1000 &

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center