1 |
On Sun, 2009-09-20 at 16:51 -0500, Dale wrote: |
2 |
> Alan McKinnon wrote: |
3 |
> > On Sunday 20 September 2009 22:06:44 Dale wrote: |
4 |
> > |
5 |
> >> Neil Bothwick wrote: |
6 |
> >> |
7 |
> >>> On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote: |
8 |
> >>> |
9 |
> >>>> /bin/bash is also shown in htop even though bash isn't in any runlevel |
10 |
> >>>> either ;) |
11 |
> >>>> |
12 |
> >>> Not here. |
13 |
> >>> |
14 |
> >> This is all I get for bash: |
15 |
> >> |
16 |
> >> root@smoker / # ps aux | grep bash |
17 |
> >> dale 7254 0.0 0.0 3044 572 ? S Sep19 0:00 |
18 |
> >> /bin/bash /usr/libexec/mozilla-launcher |
19 |
> >> root 7704 0.0 0.0 1888 516 pts/0 S+ 15:01 0:00 grep |
20 |
> >> --colour=auto bash |
21 |
> >> root@smoker / # |
22 |
> >> |
23 |
> >> I guess Seamonkey uses it for something. That is also all that shows up |
24 |
> >> in htop as well. Nothing else bash that I can find. |
25 |
> >> |
26 |
> > |
27 |
> > The mozilla launcher scripts spawn an instance of bash which then goes looking |
28 |
> > for the mozilla binaries and launches them. All perfectly normal. |
29 |
> > |
30 |
> > The reason you don't see bash in ps is because you are not running bash. I do, |
31 |
> > but you obviously don't. What shell does root use per /etc/passwd? |
32 |
> > |
33 |
> This one: |
34 |
> |
35 |
> root:x:0:0:root:/root:/bin/bash |
36 |
> |
37 |
> Looks like bash. ;-) I assume this is the default because I have never |
38 |
> changed this file. Is there something screwy with my system? |
39 |
|
40 |
Beginning to look that way. I tried using konsole this morning and here |
41 |
is what I got: |
42 |
|
43 |
17423 pts/3 Sl 0:00 konsole |
44 |
18951 pts/4 Ss 0:00 \_ /bin/bash |
45 |
2704 pts/4 R+ 0:00 \_ ps axf |
46 |
|
47 |
I have no idea why you don't get the same result. |