00001 root /sbin/launchd
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When check the pstree
$ pstree -g 2 -p $$ | sed "s/$USER/me/g"
─┬◆ 00001 root /sbin/launchd
└─┬◆ 00277 me /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_40970
└─┬◆ 00360 root login -pfl me /bin/bash -c exec -la bash /usr/local/bin/bash
└─┬◆ 00368 me -bash
├─┬◆ 03968 me pstree -g 2 -p 368
│ └─── 03970 root ps -axwwo user,pid,ppid,pgid,command
└─── 03969 me sed s/me/me/g
I found that root /sbin/launchd
is No.0001 process, does it mean /sbin/launchd
run immediately after power on?
osx ps
add a comment |
up vote
0
down vote
favorite
When check the pstree
$ pstree -g 2 -p $$ | sed "s/$USER/me/g"
─┬◆ 00001 root /sbin/launchd
└─┬◆ 00277 me /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_40970
└─┬◆ 00360 root login -pfl me /bin/bash -c exec -la bash /usr/local/bin/bash
└─┬◆ 00368 me -bash
├─┬◆ 03968 me pstree -g 2 -p 368
│ └─── 03970 root ps -axwwo user,pid,ppid,pgid,command
└─── 03969 me sed s/me/me/g
I found that root /sbin/launchd
is No.0001 process, does it mean /sbin/launchd
run immediately after power on?
osx ps
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When check the pstree
$ pstree -g 2 -p $$ | sed "s/$USER/me/g"
─┬◆ 00001 root /sbin/launchd
└─┬◆ 00277 me /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_40970
└─┬◆ 00360 root login -pfl me /bin/bash -c exec -la bash /usr/local/bin/bash
└─┬◆ 00368 me -bash
├─┬◆ 03968 me pstree -g 2 -p 368
│ └─── 03970 root ps -axwwo user,pid,ppid,pgid,command
└─── 03969 me sed s/me/me/g
I found that root /sbin/launchd
is No.0001 process, does it mean /sbin/launchd
run immediately after power on?
osx ps
When check the pstree
$ pstree -g 2 -p $$ | sed "s/$USER/me/g"
─┬◆ 00001 root /sbin/launchd
└─┬◆ 00277 me /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_40970
└─┬◆ 00360 root login -pfl me /bin/bash -c exec -la bash /usr/local/bin/bash
└─┬◆ 00368 me -bash
├─┬◆ 03968 me pstree -g 2 -p 368
│ └─── 03970 root ps -axwwo user,pid,ppid,pgid,command
└─── 03969 me sed s/me/me/g
I found that root /sbin/launchd
is No.0001 process, does it mean /sbin/launchd
run immediately after power on?
osx ps
osx ps
asked 3 hours ago
Sawajiri
3877
3877
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Yes. PID 1 runs immediately after boot and cannot exit. If it exits, it will trigger a kernel panic.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Yes. PID 1 runs immediately after boot and cannot exit. If it exits, it will trigger a kernel panic.
add a comment |
up vote
1
down vote
accepted
Yes. PID 1 runs immediately after boot and cannot exit. If it exits, it will trigger a kernel panic.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Yes. PID 1 runs immediately after boot and cannot exit. If it exits, it will trigger a kernel panic.
Yes. PID 1 runs immediately after boot and cannot exit. If it exits, it will trigger a kernel panic.
answered 3 hours ago
CameronNemo
1,057711
1,057711
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480880%2f00001-root-sbin-launchd%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password