Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 17:24:59 -0700 (PDT)
From:      Nate Eldredge <nge@cs.hmc.edu>
To:        Andy Hilker <ah@crypta.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: FreeBSD 6.0-RC1 available
Message-ID:  <Pine.GSO.4.63.0510141721480.16883@turing>
In-Reply-To: <20051014224856.GB73118@mail.crypta.net>
References:  <434BCDF6.3090303@samsco.org> <1129201350.13257.9.camel@myfreebsd.homeunix.org> <20051013155511.GA1748@mail.crypta.net> <200510141502.16653.jhb@freebsd.org> <20051014224856.GB73118@mail.crypta.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Oct 2005, Andy Hilker wrote:

> Hi,
>
>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/82430
>>
>> Why does the process name have []'s around it?
>
> Thanks for your reply.
>
>> From "man ps":
>
> If the command vector cannot be located (usually because it has not
> been set, as is the case of system processes and/or kernel threads)
> the command name is printed within square brackets.
>
> I have this behaviour with mysqld, the bug reporter with clamd.
> Running mysqld jailed, the process name is ok and not in brackets.

Do you think this is related?  I don't know as to FreeBSD specifically, 
but on other Unices this often happens for ordinary processes when they 
are swapped out.  The kernel normally gets argv out of the process's 
memory, but if it is swapped out, it doesn't want to bother to swap it in 
just for that.  So it gives you just the command name instead.  It might 
be that it's just coincidence, this happened to your non-jailed process 
but not to your jailed one.

-- 
Nate Eldredge
nge@cs.hmc.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.0510141721480.16883>