You are not logged in.

#1 2009-07-04 11:00:10

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

strange name for pid 1 process in "ps aux"

I noticed something that scared me a little: when looking into ps aux listing there is an "ini" process with pid=1. uhh... pid 1 should be init, what's happening here?

silvik@morgana:~$ ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1   1692   572 ?        Ss   13:05   0:00 ini 
<snip>

actually it's "ini " not "ini", with a trailing space.

but if we use other commands everything it's OK:

silvik@morgana:~$ ps -p 1 -o comm=
init
silvik@morgana:~$ pgrep -l ini
1 init
4443 xinit
4489 kdeinit4

so... I'm confused... is anybody else seeing this? Why?

Offline

#2 2009-07-04 11:16:52

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: strange name for pid 1 process in "ps aux"

Mmm that is weird, works fine here:

arkham ~ $  ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1692   512 ?        Ss   Jul03   0:01 init [3]

Have you tried reinstalling ps, glibc and procps?


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-07-04 11:25:29

rebugger
Member
From: Germany
Registered: 2007-10-28
Posts: 229

Re: strange name for pid 1 process in "ps aux"

% ps aux | grep ini
root         1  0.0  0.0   1692   580 ?        Ss   12:09   0:00 ini

Well, i have "ini" too.

Offline

#4 2009-07-04 11:53:07

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

Re: strange name for pid 1 process in "ps aux"

it's "ini" in /proc too, it's not only a ps problem:

silvik@morgana:~$ cat /proc/1/cmdline 
inisilvik@morgana:~$

@arkham: I'll try that when I have a little time
@rebugger: thanks, so it's confirmed

Offline

#5 2009-07-04 12:13:36

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: strange name for pid 1 process in "ps aux"

Me too. I think I noticed it for the first time after the 2.6.30 kernel upgrade though I am not sure. I'm running x86_64.

Offline

#6 2009-07-04 12:40:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Offline

#7 2009-07-04 12:41:36

Sharpsy
Member
From: Zagreb, Croatia
Registered: 2009-06-16
Posts: 4

Re: strange name for pid 1 process in "ps aux"

When i run ps aux|grep ini i get this,

root         1  0.0  0.0   1692    96 ?        Ss   Jul01   0:01 ini 
sharpsy   5027  0.0  0.0   3624   804 pts/1    R+   14:27   0:00 grep ini

but when using ps -e|grep ini
it's:

    1 ?        00:00:01 init

That 'ini ' process is actually 'init', but i don't know why is 't' missing. smile

Offline

#8 2009-07-04 14:11:25

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

Re: strange name for pid 1 process in "ps aux"

oh, an arch specific patch gone wrong. weird.

thanks allan

Offline

Board footer

Powered by FluxBB