- 论坛徽章:
- 1
|
说一下我的思路:
1、首先看到这个问题,我第一想到的就是man ps
2、我打开man page,慢慢看我是懒的看了,直接搜索brackets(方括号)
于是看到一下这些:
CMD
(-f, -l, and l flags) Contains the command name. Under the -f flag, ps tries to determine the current command name and arguments both of which may be changed asynchronously by the process. These are then displayed. Failing this, the command name as it would appear without the option -f, is written in square brackets.
With the -o flag, the ps command examines memory or the paging area and determines what the command name and parameters were when the process was created. If the ps command cannot find this information, the command name stored in the kernel is displayed in square brackets.
看起来应该是有结果了。 |
|