Re: "ps ax" shows init [

From: Miquel van Smoorenburg (miquels@cistron-office.nl)
Date: Wed Nov 07 2001 - 11:10:04 EST


In article <Pine.LNX.4.10.10111071747430.31120-100000@ares.sot.com>,
Yaroslav Popovitch <yp@sot.com> wrote:
>doing "ps ax" get such msg for kernel-2.4.9:
>That is the same for kernel-2.4.12.Sometimes it is shown as it should be.
>Is this a bug of kernel? It seems to be..
>
> PID TTY STAT TIME COMMAND
> 1 ? S 0:06 init [

It's because init doesn't have enough space in argv[] to change it's
process title. There are a number of causes for this, one indirect
one is pressing 'enter' at the 'LILO boot: ' prompt.

Mike.

-- 
"Only two things are infinite, the universe and human stupidity,
 and I'm not sure about the former" -- Albert Einstein.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:35 EST