Re: ps bracket
- From: Laurenz Albe <invite@xxxxxxxxxxxxxxx>
- Date: 28 Feb 2006 09:35:38 GMT
cmk128@xxxxxxxxxxx wrote:
/root>ps aux
cool 14788 0.0 0.0 4116 124 ? S 00:10 0:00
/bin/bash ./start
cool 14794 0.0 0.4 12128 1092 ? S 00:10 0:00 [hk1]
<---------------------- why this process has a bracket?
root 25076 92.9 0.7 12700 1832 pts/1 R< 11:04 0:33 ./Coo
Process 14794 has been started by some other process using fork(2) and
execve(2).
The argument vector passed to execve(2) when the program was
loaded was empty.
What you usually see in the ps output is NOT the name of the program
file running but the list of arguments. It is customary to use the
program name as zeroth argument so that the name of the running program
is visible in the ps output.
Because there is no argument list, ps actually displays the name of the
file containing the running program, and the brackets are there to alert
you to this fact.
Yours,
Laurenz Albe
.
- References:
- ps bracket
- From: cmk128
- ps bracket
- Prev by Date: Help with makefile
- Next by Date: Re: urgent!!!thanks
- Previous by thread: ps bracket
- Next by thread: KAudioCreator - How to set playing order?
- Index(es):