Linux:ps -awx与ps -awwx

有没有人知道ps -awx vs. ps -awwx

我正在追踪一些进程,当我添加额外的“w”时,我看到更多的信息。 这是否像在其他情况下(如SSHdebugging),当你发出多个“V”,更“详细”的输出? 关于这个手册我没有看到任何东西。

对手册页( man ps ):

  -w Use 132 columns to display information, instead of the default which is your window size. If the -w option is specified more than once, ps will use as many columns as necessary without regard for your window size. When output is not to a terminal, an unlimited number of columns are always used. 

请注意,以上是来自BSD的联机帮助页面。 debian的手册页更简洁/不太具体,但类似:

  -w Wide output. Use this option twice for unlimited width. 

-w开关说使用宽输出,但宽度是有限的。 使用-ww表示使用无限制的宽度输出,所以你可以看到完整的命令行中包含多次所需的命令。 增加超过2的额外的w不起作用。