我无法理解以下描述:
a Lift the BSD-style "only yourself" restriction, which is
imposed upon the set of all processes when some BSD-style
(without "-") options are used or when the ps personality
setting is BSD-like. The set of processes selected in this
manner is in addition to the set of processes selected by
other means. An alternate description is that this option
causes ps to list all processes with a terminal (tty), or
to list all processes when used together with the x
option.
我唯一能理解的是另一种描述是xxxx 。什么解除BSD风格的“只有你自己”限制和其他句子意味着什么?
答案 0 :(得分:1)
默认情况下,BSD版本为ps
(并且,通过扩展,Linux ps
,当它被视为BSD ps
时,通过传递BSD样式选项或设置PS_PERSONALITY
或CMD_ENV
bsd
环境变量仅列出运行ps
的用户拥有的进程。
a
参数解除了该限制,并且无论其所有者如何都会显示进程。