|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Linux process name indicates a problem I want to write about such a procedure :
Is a name of the implementation of the transfer process b, but in the ps and top, I saw CMD and the process name indicates COMMAND
Is a.
I had just Linux programming, fork and exec trial for a long time and was not allowed. Or how do they ask heroes! |
Linux process name indicates a problem Do not know what you want |
Linux process name indicates a problem
| Linux process name indicates a problem The name of the procedure that you do not have to, huh, huh.
Execve after the change process and is no longer a fork from the original return, um, the process of the sub-ps check cmd, the first parameter must be execve. You described the situation it is impossible for the topic. |
Linux process name indicates a problem -->
It is not necessary to make some limbs to deceive the top and /proc ps? ? |
Linux process name indicates a problem But I think such a procedure.
I was using the American company's software, such a characteristics :
. /bina/a ->;. . /main/b
. /binc/c ->;. . /main/b
. /main/b
The main catalog is a catalog bin under the symbol link b procedures, operating a ->; b operation.
The strange thing is, to see the process of ps or top, I saw CMD is the name of a logo.
Operation C, c is the name of the show is empathy
I guess when it is launched in b, which is to see their links to start the process and then change their name.
[size=18] Changed his own name in the process of how to achieve? ? [/size] Em14 : :
This, of course I mentioned above, and the call is different from the outside, are self-reform. |
Linux process name indicates a problem Argv[0] you try to amend it to be wrong or /proc/self/exe |
| |